Ejemplo n.º 1
0
 MessageBusConfiguration CreateMessageBusConfiguration(IContext context)
 {
     var configuration = new MessageBusConfiguration
     {
         Identity = "owner",
         Key = "Gg5mXkR6eivBk5ZchkL3NHNOoPO0atG1mrSHQK1LWeM=",
         Namespace = "gadgetshop"
     };
     return configuration;
 }
Ejemplo n.º 2
0
 MessageBusConfiguration CreateMessageBusConfiguration(IContext context)
 {
     var configuration = context.Kernel.Get<Configuration>();
     var messageBusConfiguration = new MessageBusConfiguration
     {
         Identity = configuration.QueueIdentity,
         Key = configuration.QueueKey,
         Namespace = configuration.QueueNamespace
     };
     return messageBusConfiguration;
 }