RE: AMQPComponent Connection Lost After Qpid Bounced

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RE: AMQPComponent Connection Lost After Qpid Bounced

Welly
I am so surprised there is nobody having the same issue as mine. Very appreciated if somebody can share their experience and solutions.

Regards,

Welly

From: Welly Hong
Sent: Thursday, May 30, 2019 3:30 PM
To: [hidden email]
Cc: [hidden email]
Subject: RE: AMQPComponent Connection Lost After Qpid Bounced

Does anybody have the same issue? I used to use mule and the Qpid connection can be retried unlimited until Qpid is up running. Somehow I didn't receive exception in Camel if Qpid is down.

Regards,
Welly

From: Welly Hong
Sent: Friday, May 24, 2019 3:49 PM
To: [hidden email]<mailto:[hidden email]>
Subject: AMQPComponent Connection Lost After Qpid Bounced

Hi,

I found Camel AMQPComponent won't reconnect to Qpid queue after Qpid broker got bounced. Below are my amqp configures. Please advise how to address this issue.

       <bean id="pooledConnectionFactory" class="org.apache.qpid.client.PooledConnectionFactory">
              <property name="maxPoolSize" value="8"></property>
              <property name="connectionTimeout" value="1000"></property>
              <property name="connectionURLString" value="amqp://${qpid.username}:${qpid.password}@/${qpid.virtualhost}?brokerlist='${qpid.host}:${qpid.port}'&amp;retries=-1"></property>
       </bean>

       <bean id="amqp" class="org.apache.camel.component.amqp.AMQPComponent">
           <property name="connectionFactory" ref="pooledConnectionFactory" />
       </bean>

It works only when Camel starting up without Qpid broker up running but not after Qpid borker got bounced.

[ERROR] 2019-05-24 09:26:27.048 [Camel (camel-1) thread #3 - JmsConsumer[Q_Request]] DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Q_Request' - retrying using FixedBackOff{interval=5000, currentAttempts=29, maxAttempts=unlimited}. Cause: Error creating connection: Connection refused: connect
[ERROR] 2019-05-24 09:26:34.058 [Camel (camel-1) thread #3 - JmsConsumer[Q_Request]] DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Q_Request' - retrying using FixedBackOff{interval=5000, currentAttempts=30, maxAttempts=unlimited}. Cause: Error creating connection: Connection refused: connect
[ERROR] 2019-05-24 09:26:41.068 [Camel (camel-1) thread #3 - JmsConsumer[Q_Request]] DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Q_Request' - retrying using FixedBackOff{interval=5000, currentAttempts=31, maxAttempts=unlimited}. Cause: Error creating connection: Connection refused: connect

Thank you,
Welly




-- This email and any attachments are for the designated recipient only and may contain privileged, proprietary, trade secret or other forms of confidential information. If you are not the intended recipient of this email, then any dissemination, distribution, printing, copying or other use of the information herein or in any attachment is strictly prohibited. If you have received this email by mistake, then (i) please notify us immediately and (ii) delete the email and all attachments. --