This discussion is archived
2 Replies Latest reply: Feb 26, 2013 3:35 AM by 866600 RSS

How to Receive fixed number of Messages from Queue

866600 Newbie
Currently Being Moderated
Hi Guys,
I have requirement of pooling messages from queue using MDB of ejb3.x and I have to insert every 10 records at a time.Receiving messages and sending messages is working with queues but how to receive fixed number of messages with the implemented class of MessageListener.

Thanks,
Srinivas.

Edited by: 863597 on Feb 25, 2013 11:32 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points