activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Stanley <dstanl...@gmail.com>
Subject Re: Messages rollback
Date Thu, 12 Feb 2009 04:02:28 GMT
You can created a transacted jms session and either commit() or rollback()
that session. See:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java?view=markup

Regards
/Dave

On Wed, Feb 11, 2009 at 8:45 PM, jzhang1 <jian.zhang@etrade.com> wrote:

>
> ActiveMQ guru,
>
> I am curious whether ActiveMQ broker provide backout
>
> all enqueue and dequeue functions calls that have occurred since the last
> syncpoint are to be backed out. Messages put as part of a unit of work are
> deleted; messages retrieved as part of a unit of work are reinstated on the
> queue.
>
> Thanks
>
> --
> View this message in context:
> http://www.nabble.com/Messages-rollback-tp21968419p21968419.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message