- It appears that
SwitchYarddoes not work well with transacted
A-MQJMS queue when an exception takes place during message consumption.
- Any idea how to best overcome warning messages shown below (which is captured from
server.log) ? It appears that this is related to
2014-09-29 14:53:49,503 WARN [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (pool-7-thread-2) Setup of JMS message listener invoker failed for destination 'queue/TestConsumptionQueue' - trying to recover. Cause: Could not commit JMS transaction; nested exception is javax.jms.IllegalStateException: Not a transacted session
The issue still takes place even if the users ensure that same connection factory (i.e.
#activemq/ConnectionFactory) is not used for all the
switchyard.xmlas discussed here in the documentation  .
It works fine if
HornetQis used instead of
- Red Hat JBoss Fuse Service Works (FSW)
- Red Hat JBoss A-MQ (A-MQ)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.