activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya_srini <>
Subject Re: TransportListener question
Date Fri, 09 May 2008 15:08:03 GMT

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

*DEBUG 08:06:34.296,ActiveMQ
Connect fail to:
reason: java.lang.IllegalArgumentException: Invalid connect parameters:
*DEBUG 08:06:34.296,ActiveMQ
Waiting 10 ms before attempting connection. 

which is what made me think that useAsyncSend is not possible to use with
failover. If I remove the failover transport client is able to connect
successfully but then we lose the features we wanted with failover.

The connection URI looks like this



James.Strachan wrote:
> 2008/5/9 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.
> Was the client connected to the broker at the time? The restriction
> with all transports is the client must be connected to a broker to
> create connections / sessions / producers / consumers.
> -- 
> James
> -------
> Open Source Integration

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message