Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel/ActiveMQ Reuqest/Reply and Transactions

$
0
0
Hello,
I have some basic questions on Camel/ActiveMQ transactions with
request/reply jms endpoints/

Have the following route. ( i basically took the example request/reply jms
example from the Camel in action book and springiified).

When I have the *transactionManager *attribute pf the ActiveMQ component
commented I am able to send and receive message from *jms:incomingOrders *to
j*ms:validate* and back from within a transaction (please note the
*<transacted ref="PROPAGATION_REQUIRED"/>*)

But when I uncomment /enable the *transactionManager *property of the
*JMS(ActiveMQ) *component, the request to *jms:validate* times out!

I do understand the processing within jms:validate works in its own thread
and hence the transaction is not propagated.

My basic question is can I have JMS reuest/reply from with in another jms
end point that is transacted.

Any ideas please? Also if you guys can point me to documentation regarding
this I will appreciate it.

I appreciate in advance

Thanks
Matt G. Madhavan

Viewing all articles
Browse latest Browse all 5648

Trending Articles