My config looks as below for connecting to IBM WebSphere MQ. <bean id="wmq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory" ref="cachedConnectionFactory" /> <property name="transactionManager" ref="jmsTransactionManager"/> <property name="transacted" value="true" /> <property name="asyncConsumer" value="true" /> <property name="concurrentConsumers" value="5" /> <property name="errorHandlerLoggingLevel" value="ERROR" /> <property name="errorHandlerLogStackTrace" value="false" /> </bean> <bean id="cachedConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory" destroy-method="destroy"> <property name="sessionCacheSize" value="50" /> <property name="targetConnectionFactory"> <ref bean="queueConnectionFactory" /> </property> </bean> <bean id="queueConnectionFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory"> <property name="hostName" value="hostvalue" /> <property name="port" value="xxx" /> <property name="queueManager" value="xxx" /> <property name="channel" value="xxx" /> <property name="transportType" value="1" /> </bean>
When route starts which has from("wmq:queue:queuName") it throws following warning and doesn't consuem messages from the queue. I have all transaction related jars in my maven dependencies, any idea what's missing in here? [Camel (camelContext) thread #1 - JmsConsumer[QUEUE_NAME]] [WARN ] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer - Setup of JMS message listener invoker failed for destination 'QUEUE_NAME' - trying to recover. Cause: javax/transaction/TransactionManager -- View this message in context: http://camel.465427.n5.nabble.com/Setup-of-JMS-message-listener-invoker-failed-for-destination-tp5722448.html Sent from the Camel - Users mailing list archive at Nabble.com.