Org.Openengsb.Loom.CSharp.Bridge.Implementation.Communication.Jms.JmsIncomingPort.Close C# (CSharp) Method

Close() public method

Close the Connection
public Close ( ) : void
return void
        public new void Close()
        {
            consumer.Close();
            consumer.Dispose();
            base.Close();
        }

Usage Example

Ejemplo n.º 1
0
        public void TestACustomCreatedExceptionHandlerWhichReturnsAValueAsResultThatGetsInvokedWithIcomingPort()
        {
            string destination = TcpUrlOpenEngSB + tmpGuid.ToString();

            IIncomingPort inPort = new JmsIncomingPort(destination, new TestCustomExceptionHandler(), ConnectorId);
            inPort.Close();

            Assert.AreEqual<String>(inPort.Receive(), "TestCase");
        }