0 Replies Latest reply on Jul 29, 2002 11:09 PM by rboston

    JMS Spec and Queue Sessions Thread Usage

    rboston

      According to the spec, I believe that a session object can only operate within one thread at a time.

      I've got an application that it appears the JBOSS implementation is using 2 different threads to call my onMessage method in my listener.

      I definitely only have 1 consumer, 1 producer and 1 session for this queue.
      I'm also using CLIENT_ACKNOWLEDGE to ensure that each message is processed prior to onMessage being called again.

      Has anyone seen this issue or know what should be really happening?

      thanks