I know how to set priority for a message, what I want is enable
priority of broker when create a queue using java client api.
On Tue, Mar 4, 2014 at 3:08 PM, Noel OConnor wrote:
> http://docs.oracle.com/javaee/5/api/javax/jms/MessageProducer.html#setPriority(int)
>
>
> On Tue, Mar 4, 2014 at 11:5
http://docs.oracle.com/javaee/5/api/javax/jms/MessageProducer.html#setPriority(int)
On Tue, Mar 4, 2014 at 11:57 AM, Li Li wrote:
> I am using the following code snippet to send messages to a queue. How
> to make priority queue enabled?
> class Producer{
> private ActiveMQConnection conn;
> pri
I am using the following code snippet to send messages to a queue. How
to make priority queue enabled?
class Producer{
private ActiveMQConnection conn;
private QueueSender sender;
private QueueSession session;
public Producer() throws JMSException{
ActiveMQConnectionFactory connectionFactory = new
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 wrote:
> as in http://activemq.apache.org/