You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ricardo Barretto <Ri...@state.co.us> on 2006/04/17 23:35:19 UTC

A message being resend thru a BPEL process

Hi all,
 
I am developing an application very similar to the bpel-bpe example,
but if at one point of the process I get an exception, the preceding
different messages will be like if servicemix is trying to reprocess the
faulty one. I would say this part of the "Reliable Message" provided by
ActiveMQ, but is there a way to discard this message? And what happens
with the new messages I sent?
 
 
Thank you in advance, Ricardo


Re: A message being resend thru a BPEL process

Posted by Guillaume Nodet <gn...@gmail.com>.
Redelivery only occurs if you use xa transactions on the jca flow and
the transaction is rolled back.  In this case, the exact same message
will be redelivered by ActiveMQ (this can be configured).  Else you
will have to resend the exchange "manually" using the
JbiContainer#resendExchange(MessageExchange) method.

Cheers,
Guillaume Nodet

On 4/17/06, Ricardo Barretto <Ri...@state.co.us> wrote:
> Hi all,
>
> I am developing an application very similar to the bpel-bpe example,
> but if at one point of the process I get an exception, the preceding
> different messages will be like if servicemix is trying to reprocess the
> faulty one. I would say this part of the "Reliable Message" provided by
> ActiveMQ, but is there a way to discard this message? And what happens
> with the new messages I sent?
>
>
> Thank you in advance, Ricardo
>
>
>