thank you tabish. i changed the code Destination destination11 = session1.createQueue("test-out"); as Destination destination11 = new ActiveMQQueue("test-out?consumer.prefetchSize=0");
and it works good. thanks again. -- View this message in context: http://activemq.2283324.n4.nabble.com/I-do-not-receive-the-first-message-in-my-second-consumer-tp4667344p4667434.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.