Exemplo n.º 1
0
 public AMQPSession(AppConfig appConfig, SubscriberConfig subscriberConfig, bool autoRecovery = true)
 {
     this.appConfig        = appConfig;
     this.subscriberConfig = subscriberConfig;
     InitSession();
 }
Exemplo n.º 2
0
 public static AMQPSession Instance(AppConfig appConfig, SubscriberConfig subscriberConfig)
 {
     return(new AMQPSession(appConfig, subscriberConfig));
 }