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