camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaxmlsoapdev <>
Subject Setup of JMS message listener invoker failed for destination
Date Fri, 09 Nov 2012 19:31:30 GMT
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 id="cachedConnectionFactory"
		<property name="sessionCacheSize" value="50" />
		<property name="targetConnectionFactory">
			<ref bean="queueConnectionFactory" />
	<bean id="queueConnectionFactory"
		<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" />

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:
Sent from the Camel - Users mailing list archive at

View raw message