Hi Team,

Please find the below scenarios or camel route

from("wmq:queue:eventQueue + "?useMessageIDAsCorrelationID=true")
    .transacted()
    .bean(orchestrator, "processMessage(${body}, ${headers})");


and for transaction i am maintaining JmsTransactionManager. please find the
same. actually i have gone through Chapter 9 in the Camel in Action book.
based on that I configured txn. 

<bean id="wmq" class="org.apache.camel.component.jms.JmsComponent">
        <property name="transacted" value="true" />
        <property name="transactionManager" ref="txManager" />
</bean>
<bean id="txManager"
class="org.springframework.jms.connection.JmsTransactionManager">
        <property name="connectionFactory" ref="wmqConnectionFactory" />
</bean>

Now in Chapter 9 in the Camel in Action book, author mentioned about
ACTIVEMQ.DLQ, but what will happen in case of Websphere MQ. 
My requirement is if at all processMessage(${body}, ${headers}) fails to
process and throws exception , camel should not acknowledge and message
should be there as it is inside WMQ.

Could you please help me for the same.

Thanks
Satyajit



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-wmq-transactions-ack-mode-as-TRANSACTED-tp5755162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to