You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Innomin8 <no...@standen.id.au> on 2008/10/23 17:58:20 UTC

STOMP - Reject Message

Hi All,

I'm looking to make a reliable processor of messages in Perl.  As part of
this, I have the requirement to reject messages (such as in the event of a
temporary issue which prevents the request from being completed).

Is there any way, through the Stomp protocol to 'reject' a message without
simply disconnecting?

Thanks
-- 
View this message in context: http://www.nabble.com/STOMP---Reject-Message-tp20134006p20134006.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: STOMP - Reject Message

Posted by James Strachan <ja...@gmail.com>.
2008/10/23 Innomin8 <no...@standen.id.au>:
>
> Hi All,
>
> I'm looking to make a reliable processor of messages in Perl.  As part of
> this, I have the requirement to reject messages (such as in the event of a
> temporary issue which prevents the request from being completed).
>
> Is there any way, through the Stomp protocol to 'reject' a message without
> simply disconnecting?

Use transactions and do a rollback.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/