-
Jan 21st, 2008, 06:14 AM
#1
Asynchron Receiving with JMS
Hello
I am reading some infos about JMS support in Spring..
and I realized, there is no possibility to use asynchrone receiving,
like the onMessage methode from the MessageListener(JMS API) interface.
In the book there is written, it is straightforward to consume messages synchronously using the receive method on a MessageConsumer.
And my question is now, why I should consume this?
Why there is no support for asynchrone reseiving?
-
Jan 21st, 2008, 07:37 AM
#2
Read again... Check the reference guide...
Chapter 2.4.4 and chapter 19.
-
Jan 21st, 2008, 08:53 AM
#3
Spring JMS Support for Async Receiving
As of Spring 2.0, asynchronous receiving of JMS Messages is supported.
Refer to Spring Documentation's JMS Section for Async Reception for an example.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules