I don't think the priority can be changed at runtime in ActiveMQ.
This will need to close and recreate a new consumer, i.e. stop / restart
the endpoint / SU / SA ...
Another problem is that this is an ActiveMQ specific property ...

What's your use case for changing the consumer prioirity (and not the
message priority) at runtime ?

On 5/14/07, Dominique DE VITO <[EMAIL PROTECTED]> wrote:

I have some questions about defining/changing a JMS consumer's priority
inside ServiceMix.

* Priority defined at startup time

Possible through http://activemq.apache.org/consumer-priority.html ?
Is it correct ?

* Priority defined dynamically

It is not possible to change JMS consumer's priority at runtime inside
SMX.
Is it correct ?

What about the following solution: exposing a "priority" field inside
JmsConfigurationMBean class and using this priority when creating a
MessageConsumer ?

Thanks.

Dominique




--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to