activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQInputStream & Message Acknowledgement
Date Tue, 03 Oct 2006 17:13:25 GMT
The ActiveMQInputStream will acknowledge the messages it consumes as
it reads the stream so you shouldn't have to explicitly  do anything.
Did you want something else?


On 10/3/06, joeeb <tms8700@comcast.net> wrote:
>
> Acknowledge does not work when reading a message from inputstream, is this a
> bug or expected?  Thanks.
>
> ActiveMQInputStream is =
> (ActiveMQInputStream)((ActiveMQConnection)locProducerConn).createInputStream(locDest);
> Message m = is.receive();
> m.acknowledge();
>
> Using ActiveMQ 4.0.1
>
> --
> View this message in context: http://www.nabble.com/ActiveMQInputStream---Message-Acknowledgement-tf2377471.html#a6624456
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message