This content has been marked as final.
Show 3 replies
-
1. Re: How to specify the number of messsages I need?
chwang Oct 3, 2005 6:51 PM (in response to chwang)I am using MessageListener, please help!
-
2. Re: How to specify the number of messsages I need?
schrouf Oct 4, 2005 5:38 AM (in response to chwang)JMS message processing is message oriented, not batch oriented. Also do not expect a fixed message order, as this is not specified by the JMS specification. If you want to handle message batches than you have to implement the logic by yourself.
regards
ulf -
3. Re: How to specify the number of messsages I need?
hfarid Oct 4, 2005 9:17 AM (in response to chwang)I have a similar situation and I resolved it as follows:
- the MDB is able to process single messages (encapsulated in ObjectMessage)
- the MDB is able to process linked list of messages
Note. To preserve the ordering you have to adjust your MDB to be singelton (tradeoff with performance, it's you call in this case)