Re: Multiple consumers not consuming

2013-11-06 Thread Gary Tully
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

Re: Multiple consumers not consuming

2013-11-05 Thread nima_mar
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

Re: Multiple consumers not consuming

2013-04-19 Thread SledgeHammer
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.

Re: Multiple consumers not consuming

2013-04-19 Thread SledgeHammer
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.

Re: Multiple consumers not consuming

2013-04-19 Thread Timothy Bish
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

Re: Multiple consumers not consuming

2013-04-19 Thread SledgeHammer
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

Re: Multiple consumers not consuming

2013-04-19 Thread Timothy Bish
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

Multiple consumers not consuming

2013-04-19 Thread SledgeHammer
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.