Hi, 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="http://camel.apache.org/schema/spring"> <endpoint id="requestQueue1" uri="webspheremq:queue:ReqQueue?exchangePattern=InOut"/> </camelContext> <jee:jndi-lookup id="connectionFactory" jndi-name="QCF"> <jee:environment> java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory java.naming.provider.url=iiop://localhost:2809/ </jee:environment> </jee:jndi-lookup> <bean id="webspheremq" class="org.apache.camel.component.jms.JmsComponent"> <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"/> </bean> </property> </bean> Should I do any more configurations to achieve request response? -- View this message in context: http://camel.465427.n5.nabble.com/Request-Response-with-Websphere-MQ-with-JTA-tp4513041p4513041.html Sent from the Camel - Users mailing list archive at Nabble.com.