[
https://issues.apache.org/jira/browse/CAMEL-9619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186843#comment-15186843
]
Sergey commented on CAMEL-9619:
--------------------------------
This is possible root cause of an issue (i.e., bug in qpid client):
{code}
Exception in thread "Dispatcher-0-Conn-167"
org.apache.qpid.transport.SessionException: Command was interrupted because of
failover, before being sent
at
org.apache.qpid.transport.Session.checkFailoverRequired(Session.java:826)
at org.apache.qpid.transport.Session.invoke(Session.java:658)
at org.apache.qpid.transport.Session.invoke(Session.java:627)
at
org.apache.qpid.transport.SessionInvoker.messageRelease(SessionInvoker.java:105)
at
org.apache.qpid.client.AMQSession_0_10.rejectMessage(AMQSession_0_10.java:545)
at org.apache.qpid.client.AMQSession.rejectMessage(AMQSession.java:1839)
at
org.apache.qpid.client.AMQSession$Dispatcher.notifyConsumer(AMQSession.java:3541)
at
org.apache.qpid.client.AMQSession$Dispatcher.dispatchMessage(AMQSession.java:3485)
at
org.apache.qpid.client.AMQSession$Dispatcher.access$1000(AMQSession.java:3261)
at org.apache.qpid.client.AMQSession.dispatch(AMQSession.java:3254)
at
org.apache.qpid.client.message.UnprocessedMessage.dispatch(UnprocessedMessage.java:54)
at
org.apache.qpid.client.AMQSession$Dispatcher.run(AMQSession.java:3403)
at java.lang.Thread.run(Thread.java:745)
{code}
> Qpid failover unsuccessful, Invalid Bundle Context
> --------------------------------------------------
>
> Key: CAMEL-9619
> URL: https://issues.apache.org/jira/browse/CAMEL-9619
> Project: Camel
> Issue Type: Bug
> Components: camel-amqp, osgi
> Affects Versions: 2.15.2
> Reporter: Sergey
> Priority: Minor
> Attachments: camel-context.xml, jms.xml, osgi-context.xml
>
>
> We have AMQP camel client consuming data from Qpid queue. Our setup contains
> one camel bundle and a connection factory, deployed as spring-dm xml.
> Everything works fine until failover, when we have an error like this:
> 2016-02-18 18:00:05,273 | ERROR | [fibigdataQueue] |
> faultJmsMessageListenerContainer | 292 -
> org.apache.servicemix.bundles.spring-jms - 3.2.11.RELEASE_1 | Could not
> refresh JMS Connection for destination 'fibigdataQueue' - retrying in 5000
> ms. Cause: Invalid BundleContext.
> At the moment camel stops to consume messages from queue, and stuck in this
> state until camel bundle updated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)