activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <>
Subject Re: ActiveMQ 4 + Jencks + XA Transactions
Date Mon, 10 Jul 2006 13:49:49 GMT
Johan Brelet wrote:
> I misunderstand something (sorry but I'm an ActiveMQ / JCA newbie). When
> using inbound communications, I thought that transactions were managed
> transparently by the JCA Resource Adapter and that the only way to rollback
> a transaction was to throw an error... So how can I do to handle the current
> transaction in the onMessage() method ? In my Spring config file, the only
> class that is linked with JTA transactions is the Jencks JCA connector (via
> the transactionManager property) :

If you are using Spring's transaction support, something like:


Christopher G. Stach II

View raw message