public MsmqInputChannelBase(MsmqInputChannelListenerBase listener, IMsmqMessagePool messagePool) : base(listener)
 {
     this.receiveParameters = listener.ReceiveParameters;
     this.receiver = new System.ServiceModel.Channels.MsmqReceiveHelper(listener.ReceiveParameters, listener.Uri, messagePool, this, listener);
     this.localAddress = new EndpointAddress(listener.Uri, new AddressHeader[0]);
     this.listener = listener;
     if (this.receiveParameters.ReceiveContextSettings.Enabled)
     {
         this.receiveContextManager = new MsmqReceiveContextLockManager(this.receiveParameters.ReceiveContextSettings, this.receiver.Queue);
     }
 }
 protected override IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener)
 {
     return new MsmqIntegrationInputChannel(this);
 }
 protected override IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener)
 {
     return(new MsmqIntegrationInputChannel(this));
 }
 protected override IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener)
 {
     return new MsmqInputChannel(listener as MsmqInputChannelListener);
 }
Example #5
0
 protected override IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener)
 {
     return(new MsmqInputChannel(listener as MsmqInputChannelListener));
 }
Example #6
0
 protected abstract IInputChannel CreateInputChannel(MsmqInputChannelListenerBase listener);