IDestination destination =
> SessionUtil.GetDestination(session,
> String.Format("queue://{0}", queue.ToString()));
>
> using (IMessageConsumer consumer =
> session.CreateConsumer(destination))
> {
> MessageListener handler = (x)
> => { consumer_Listener(session, x); };
> consumer.Listener += handler;
> connection.Start();
>
> cancellationToken.WaitHandle.WaitOne();
> consumer.Listener -= handler;
> }
> }
> }
>
> Let me know if you want to see any additional code :)
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4666087.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
http://redhat.com
http://blog.garytully.com
Hi,
Did you have any chance to fix this problem? Because I also have exact same
problem with multiple consumers.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4673866.html
Sent from the ActiveMQ - User mailing list archive
PM
As you can see, when one client finishes, the other finally gets a message.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4666090.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
er.Listener -= handler;
}
}
}
Let me know if you want to see any additional code :)
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4666087.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
gEnabled=true&nms.PrefetchPolicy.QueuePrefetch=1
Admin page is showing 2 consumers, both with a PreFetch of 1.
All 3 instances (1 producer, 2 consumers) are all running on the same dev
machine.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p
page is showing 2 consumers, both with a PreFetch of 1.
All 3 instances (1 producer, 2 consumers) are all running on the same dev
machine.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4666080.html
Sent from the ActiveMQ - User mai
Policy.QueuePrefetch=1
Why is only one client getting messages?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Need to know more about the producers and consume
messages?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.