private async Task WhenMessageSentToTopic <T>(string topicName, T data, IDictionary <string, string> properties, string sessionId, bool compressData = false)
     where T : class
 {
     await _messengerService.SendToTopic <T>(topicName,
                                             data,
                                             properties,
                                             sessionId : sessionId,
                                             compressData : compressData);
 }