cAMQP/cJMS connection timeout when exchanging messages between a Route and a JMS provider using AMQP.

Four Stars

cAMQP/cJMS connection timeout when exchanging messages between a Route and a JMS provider using AMQP.

I am using cAMQP and cJMS for exchanging messages between a Route and a JMS provider using AMQP. But after delivery of message when idle, there is connection timeout error. I am writing to topic or queue and using cMQConnectionFactory_1 for establishing connection. Is there a workaround, anyone has seen or its a known defect.

 

here is detailed stacktrace for the error:

 

 

[ERROR]: org.apache.camel.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-LN439586-56624-1521476248558-0-1 on ExchangeId: ID-LN439586-56624-1521476248558-0-2). Exhausted after delivery attempt: 1 caught: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: java.net.ConnectException: Connection timed out: connect

 

Message History

---------------------------------------------------------------------------------------------------------------------------------------

RouteId ProcessorId Processor Elapsed (ms)

[Db2Route_DB2POC_cT] [Db2Route_DB2POC_cT] [timer://cTimer_1?delay=10&period=10&repeatCount=1 ] [ 64505]

[Db2Route_DB2POC_cT] [Db2Route_DB2POC_cT] [talend://employer_management.cdc_driver_0_1.CDC_Driver?context=Default&propaga] [ 42806]

[Db2Route_DB2POC_cT] [Db2Route_DB2POC_cP] [Processor@0x12c01261 ] [ 0]

[Db2Route_DB2POC_cT] [Db2Route_DB2POC_cA] [cMQConnectionFactory1:topic:topicpm?disableReplyTo=true ] [ 21686]

 

Stacktrace

---------------------------------------------------------------------------------------------------------------------------------------

org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: java.net.ConnectException: Connection timed out: connect

 

Four Stars

Re: cAMQP/cJMS connection timeout when exchanging messages using AMQP.

I am also getting below error while using AMQP via SSL.And not behind any firewall or in VPN.

 

[ERROR]: org.apache.camel.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-LN439586-58885-1521582403762-0-1 on ExchangeId: ID-LN439586-58885-1521582403762-0-2). Exhausted after delivery attempt: 1 caught: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Peer did not create remote endpoint for link, target: "TopicName"

Moderator

Re: cAMQP/cJMS connection timeout when exchanging messages between a Route and a JMS provider using AMQP.

Hello,

Could you please indicate on which talend build version you got this timeout issue? Would you mind posting your route setting screenshot on forum?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.