Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS ActiveMQ ONDemand based retrival  RSS feed

 
Dominic Marinaro Soundranayagam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team

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
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

cheers,
ram.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!