Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection()

Here are the examples of the csharp api class Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: spring-net
Source File: NmsTemplateTests.cs
[Test]
        public void ConnectionThrowException()
        {
            ConnectionFactory cf = new ConnectionFactory();
            cf.BrokerUri = new Uri("tcp://localaaahost:61616");
            Assert.Throws<NMSConnectionException>(() => cf.CreateConnection());
        }