Re: TransportListener question

2008-05-09 Thread jaya_srini
given what I have said below, I am wondering if the following will work The JMS client connects to the broker with the following conenction URI (without async send parameter) failover:(tcp://localhost:61616?wireFormat.maxInactivityDuration=-1) In the code when I create the connection I set the

Re: TransportListener question

2008-05-09 Thread jaya_srini
Well, that's the problem. When we use jms.useAsyncSend in the connection URI with the failover transpoert we can't even start the JMS client. It hangs when it's trying to create the connection to the broker. We are using Active-MQ 5.0.0. These are the errors we see in the logs pertaining to Active

Re: TransportListener question

2008-05-09 Thread James Strachan
2008/5/9 jaya_srini <[EMAIL PROTECTED]>: > > Thanks so much for the responses. Can you tell me how I can use Async Sends > with the Failover transport? I tried the jms.useAsyncSend parameter in the > connection URI but that just causes the client to hang. Was the client connected to the broker

Re: TransportListener question

2008-05-09 Thread jaya_srini
Thanks so much for the responses. Can you tell me how I can use Async Sends with the Failover transport? I tried the jms.useAsyncSend parameter in the connection URI but that just causes the client to hang. Is there any other way to do this? If we can use failover with async sends that would be

Re: TransportListener question

2008-05-09 Thread James Strachan
2008/5/9 jaya_srini <[EMAIL PROTECTED]>: > > Hi > > > Is TransportListener only meant to be used with Failover Transport? Yeah - as if you're not using failover, the JMS connection will fail if there is a transport problem; so listening doesn't add much value if your JMS connection is dead :) >