Re: ActiveMQ - CreateSession failover timeout after a connection is resumed

2012-08-02 Thread Bo
Hi Tim, Thank you for your quick reply. I have tried to invoke session creating in another thread and it works. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CreateSession-failover-timeout-after-a-connection-is-resumed-tp4654721p4654725.html Sent from

ActiveMQ - CreateSession failover timeout after a connection is resumed

2012-08-02 Thread Bo
I'm using ActiveMQ 5.6.0 and ActiveMQ NMS client. I connect to the broker using the follow code: var connectionFactory = new ConnectionFactory( "failover:(tcp://localhost:61616)?transport.timeout=5000" ); connection = connectionFactory.CreateConnection(); connection.Start(); connect