camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sowmya <>
Subject Request response with XA on websphere+webspheremq
Date Mon, 20 Jun 2011 06:10:22 GMT

I am trying to achieve JMS request response scenario in XA with websphere
and websphere mq.
I am not using routes. I am using JmsProducer..process(ExchangePattern
exchange) with exchangePattern set to InOut. Since JMS will not send any
messages until a commit is performed, the server side won't receive anything
at all until the transaction commits, a transaction commit has to happen
after sending request.

This is the configuration i have done in camel-context.xml. But no
transaction commit is not happening for the message to go till consumer. 

	<camelContext id="camel" xmlns="">
		<endpoint id="requestQueue1"
	<jee:jndi-lookup id="connectionFactory" jndi-name="QCF">
    <bean id="webspheremq"
		<property name="configuration">
			<bean class="org.apache.camel.component.jms.JmsConfiguration">
				<property name="connectionFactory" ref="connectionFactory" />
				<property name="transacted" value="true" />
				<property name="concurrentConsumers" value="1" />
				<property name="transactedInOut" value="false" />
				<property name="cacheLevelName" value="CACHE_NONE"/>

Should I do any more configurations to achieve request response?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message