• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

JMS ActiveMQ ONDemand based retrival

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic