camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blommish <>
Subject Websphere MQ and PROPAGATION_REQUIRES_NEW does not work
Date Sat, 18 Apr 2015 14:31:08 GMT

I'm trying to get the transactions to work, have been through the
documentation and the book. 
WMQ = websphere message queue

My goal:
 * Get a message from the inbound queue
 * Multicast it to 2 direct-queues <-- should be transactional, if something
fails the message should go to error queue
 * the direct queue will process the message and multicasts to different WMQ

The problem is *PROPAGATION_REQUIRES_NEW *does not work, it does not create
a new transaction. 
If I use *PROPAGATION_REQUIRED*, it does work, but then it rollbacks the
message to the inbound queue, which is a problem.

So I see 2 possible solution but haven't been able to fix any of them:
 1. The *deadLetterChannel *should be the error queue, as with ActiveMQ, it
actually sends the message to the ActiveMQ.DLQ, but I can't get this to
work. I guess it is related to the* transactionalErrorHandler()* which I
have no clue how to fix

The code, which does not have any handling of deadLetter or so now:

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

View raw message