Hi,

I have two question about a route, JMS and transactions.

The use is : one request response Web service put message on n queues
(using transaction ensure the message really put in all queues or no
one).

Does this route make sense (only "pseudo" route not all the stuff to
manage transaction i guess) ?

from("cxf:bean:myEndpoint").
.wireTap("direct:tap")
.process(myProcessor)
transacted("PROPAGATION_REQUIRES_NEW")
.multicast()
.parallelProcessing()
.recipientList(header("MY_HEADER"))
.end()
.process(myAnswerProcessor);

from(direct:tap).process(myOptionalProcessor);

If it could work, when is the transaction commit ?

Thanks for answers.

Regards
Hervé

Reply via email to