How does ActiveMQPrefetchPolicy work ?

2012-04-04 Thread Huawei
Hi, I'm trying to use ActiveMQPrefetchPolicy but can not quite understand how to use it. I'm using queue, there are 3 params that I can define for PrefetchPolicy: queuePrefetch, queueBrowserPrefetch, inputStreamPrefetch Actually I don't get the meaning of queueBrowserPrefetch and inputStreamPre

Can I set property to message and still can get it when it is redelivered ?

2012-03-30 Thread Huawei
Hi Can I set property to message and then call session.rollback(); when it is redelivered I try to get that property from the message. Actually I've tried this, it seems AMQ does not persist the changes I've made on message.. so I did not get the property I set. Is there a way that I can do tha

Re: Redelivery Policy per Queue

2012-03-30 Thread Huawei
Thanks, -- View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-Policy-per-Queue-tp4518541p4521180.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Redelivery Policy per Queue

2012-03-30 Thread Huawei
Hi, I'm facing a situation where I need to define different redelivery policy for different queues. Is there any way that I can do that? Thanks, -- View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-Policy-per-Queue-tp4518541p4518541.html Sent from the ActiveMQ - Us