You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cauchy <fu...@yahoo.com.cn> on 2008/06/10 08:58:31 UTC
acknowledgement of message sent by producer
Hi!
How can I get acknowledgement of a certain message from MQ after I send it
in my producer ?
Appreciation for any help.
--
View this message in context: http://www.nabble.com/acknowledgement-of-message-sent-by-producer-tp17748959p17748959.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: acknowledgement of message sent by producer
Posted by cauchy <fu...@yahoo.com.cn>.
Yes,thank you.That's what I mean.I want to make sure that the message has
been delivered to the broker,then I can delete if from buffer.Now I can do
that after the send method return,thanks again.
rajdavies wrote:
>
>
> On 10 Jun 2008, at 07:58, cauchy wrote:
>
>>
>> Hi!
>> How can I get acknowledgement of a certain message from MQ after I
>> send it
>> in my producer ?
>> Appreciation for any help.
>> --
>> View this message in context:
>> http://www.nabble.com/acknowledgement-of-message-sent-by-producer-tp17748959p17748959.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
> By default, persistent delivery mode (the default in JMS) - the sender
> will not return until the message has been delivered and persisted by
> the broker - is this what you mean?
> Alternatively - ActiveMQ 5.2 (try a snapshot) - you can listen for
> advisories for message delivery to the broker and consumption by a
> consumer - see:
> http://activemq.apache.org/advisory-message.html
>
>
>
> cheers,
>
> Rob
>
> http://open.iona.com/products/enterprise-activemq
> http://rajdavies.blogspot.com/
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/acknowledgement-of-message-sent-by-producer-tp17748959p17768134.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: acknowledgement of message sent by producer
Posted by Rob Davies <ra...@gmail.com>.
On 10 Jun 2008, at 07:58, cauchy wrote:
>
> Hi!
> How can I get acknowledgement of a certain message from MQ after I
> send it
> in my producer ?
> Appreciation for any help.
> --
> View this message in context: http://www.nabble.com/acknowledgement-of-message-sent-by-producer-tp17748959p17748959.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
By default, persistent delivery mode (the default in JMS) - the sender
will not return until the message has been delivered and persisted by
the broker - is this what you mean?
Alternatively - ActiveMQ 5.2 (try a snapshot) - you can listen for
advisories for message delivery to the broker and consumption by a
consumer - see:
http://activemq.apache.org/advisory-message.html
cheers,
Rob
http://open.iona.com/products/enterprise-activemq
http://rajdavies.blogspot.com/