camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Whiteside (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6362) Consumers should always use dedicated Sessions
Date Wed, 15 May 2013 01:16:13 GMT
Aaron Whiteside created CAMEL-6362:
--------------------------------------

             Summary: Consumers should always use dedicated Sessions
                 Key: CAMEL-6362
                 URL: https://issues.apache.org/jira/browse/CAMEL-6362
             Project: Camel
          Issue Type: Bug
          Components: camel-sjms
    Affects Versions: 2.11.0
            Reporter: Aaron Whiteside


If you add more then one MessageListener to a Session then that session will use  a single
thread to notify each MessageListener in turn. Which defeats the purpose of using multiple
MessageListeners, at least in my opinion.

sessionCount in SjmsEndpoint should be ignored for Consumers, each Consumer (consumerCount)
should instead use a dedicated Session, like what happens when transactions are enabled.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message