I am involving in SMS Gate way project.
The Very Base function is our system have couple of Customers
They will send their request to our gateway in a form of XML.
Those request is Process first and send it to a common out bound JMS(ActiveMQ 5.3 )
There is an listener running on which should be capable of doing the following
1. Retrive Bunch of Messages(Let say 5 ) on retrieval.
2. The retival should be on demand .It means ,once the listeners triggers only those bunch of message should return .
Guys i really need your help.If you have any idea please help me ou
Check to see if MessageConsumer.receive() and recieveNoWait() helps. These methods always receives one Message at a time, so if you want a 'bunch' of them, you would have to call these methods in a loop that many times.