2 Replies Latest reply on Oct 15, 2002 8:22 AM by sonstone

    javax.jms.JMSException: Another thread is already in receive

    sonstone

      I have an application that has a few threads that are polling a JMS queue for work to do. When running my app, I get the following exception. I'm not really sure how to proceed with this, so any help would be greatly appreciated.


      javax.jms.JMSException: Another thread is already in receive.
      at org.jboss.mq.SpyMessageConsumer.receiveNoWait(SpyMessageConsumer.java
      :326)
      at com.netdecisions.components.decisionEngine.components.queues.JMSProce
      ssQueue.getFolder(JMSProcessQueue.java:98)
      at com.netdecisions.components.decisionEngine.components.queues.DefaultP
      rocessRunner$ProcessRunnerLoadBalancer$ProcessRunnerThread.run(DefaultProcessRun
      ner.java:220)

      Thanks,

      Daniel Spangler