private static async Task <Dictionary <string, object> > ExecuteExternalTask(IExternalTaskExecutor executor, ExternalTask externalTask)
        {
            var result = await executor.Execute(externalTask);

            return(result);
        }
 private static ExternalTaskTopicAttribute GetExecutorAttributeData(IExternalTaskExecutor executor)
 {
     return(executor.GetType()
            .GetCustomAttributes(typeof(ExternalTaskTopicAttribute), true)
            .FirstOrDefault() as ExternalTaskTopicAttribute);
 }