If you build your broker using the java API you can do this by creating the policy entry and using its setters directly.
Is that what you're asking? Otherwise you set the priority on a message by using the JMS APIs. On Mon, Mar 3, 2014 at 3:39 AM, Li Li <fancye...@gmail.com> wrote: > as in http://activemq.apache.org/how-can-i-support-priority-queues.html, > I should enable queue priority by xml configuration. is it possible to > use java api to configure this? -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta