Announcement Announcement Module
Collapse
No announcement yet.
jms.listener tests and/or samples? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jms.listener tests and/or samples?

    In looking at the 2.0M2 source, I can't seem to find any samples for the new jms listener support. But more surprsiningly, I don't seem to find /any/ tests? Is this really the case?

  • #2
    I've attached a file. It's a demo using the SimpleMessageListenerContainer. Just put all the Spring 2.0 and ActiveMQ jars in /lib to run it. Let us know if you have any questions or comments.

    Jess

    Comment


    • #3
      Works great. Thanks.

      But I still find it a bit strange that all this code exists outside the sandbox with zero tests. Very unusual for spring.

      Comment


      • #4
        Same for me, works good.

        My question to your example -> how is the message listener started? Is it done automatically based on a bean named "jmsContainer" or via the implementation of some interface?

        Additonally:

        is it possible to have such a startup mechanism within Spring 1.2.6?


        Pieper
        Last edited by Pieper; Feb 18th, 2006, 10:18 AM.

        Comment


        • #5
          Originally posted by memelet
          In looking at the 2.0M2 source, I can't seem to find any samples for the new jms listener support. But more surprsiningly, I don't seem to find /any/ tests? Is this really the case?
          take a look also here: http://forum.springframework.org/showthread.php?t=21147
          i posted another sample

          Comment

          Working...
          X