Results 1 to 3 of 3

Thread: Asynchron Receiving with JMS

  1. #1
    Join Date
    Jan 2008
    Posts
    25

    Default 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?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    Read again... Check the reference guide...

    Chapter 2.4.4 and chapter 19.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Sep 2007
    Location
    Sri Lanka
    Posts
    18

    Default 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.
    Yohan Liyanage
    Blog | Linked In

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •