1 Reply Latest reply on Mar 1, 2007 6:51 PM by Elias Ross

    JmsMessageConsumer vs SpiMessageConsumer

    Kolagatla Reddy Newbie


      I am not sure of the different between org.jboss.resource.adapter.jms.JmsMessageConsumer and org.jboss.mq.SpiMessageConsumer. (similarly JmsSession vs SpiSession)

      Is there any doc that explain when to use what?

      The reason why I am asking this question is: Using JmsSession/jmsMessageConsumer creates a seperate thread to listen to the queue where as SpiSession/SpiMessageConsumer won't create extra thread but the same thread is registered as a listener for multiple calls to setMessageListener method.