camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragisa Krsmanovic <dkrsmano...@plos.org>
Subject Interceptors and transactions
Date Wed, 11 Nov 2009 18:16:25 GMT
Do interceptors work with transactions ?

If I have transacted turned on, messages don't seem to be re-routed to
the interceptor.

<interceptSendToEndpoint uri="seda:intercept"
skipSendToOriginalEndpoint="true">
   <to uri="mock:detour"/>
</interceptSendToEndpoint>

<route>
   <from uri="activemq:start"/>
   <transacted/>
   <to uri="seda:intercept"/>
   <to uri="mock:end"/>
</route>

-- 
Dragisa Krsmanovic
Java Developer
Public Library of Science 
http://www.plos.org


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is confidential to the intended recipient. If you have received it in error, please
notify the sender and delete it from your system. Any unauthorized use, disclosure or copying
is not permitted. The views or opinions presented are solely those of the sender and do not
necessarily represent those of Public Library of Science unless otherwise specifically stated.
Please note that neither Public Library of Science nor any of its agents accept any responsibility
for any viruses that may be contained in this e-mail or its attachments and it is your responsibility
to scan the e-mail and attachments (if any).


Mime
View raw message