You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by raajullal <ra...@gmail.com> on 2012/09/21 12:30:43 UTC

Qpid c++ broker reconnection Issue

I have the following scenario 
  JBoss and Qpid c++ broker running ,Message processing happens success
fully.
  qpid broker is stop ,jboss disconnects with these exception

aused by: org.apache.qpid.transport.TransportException: Error connecting to
broker
	at
org.apache.qpid.transport.network.io.IoNetworkTransport.connect(IoNetworkTransport.java:80)
	at org.apache.qpid.transport.Connection.connect(Connection.java:229)
	at
org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:219)
	at
org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:572)
	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:358)
	... 11 more
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)

 now i have configured the qpid connection url in jboss to use
&retries='2147483647'&connectdelay='5000'  it does retries for exactly 5
times and then stops to try and reconnect 
is there any way to change this behaviour would want it keep it trying to
reconnect all the time 

Thanks in Advance

-- 
View this message in context: http://old.nabble.com/Qpid-c%2B%2B-broker-reconnection-Issue-tp34461341p34461341.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org