You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2013/11/01 14:46:18 UTC
[jira] [Commented] (CAMEL-6362) camel-sjms - Consumers should
always use dedicated Sessions
[ https://issues.apache.org/jira/browse/CAMEL-6362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811254#comment-13811254 ]
Babak Vahdat commented on CAMEL-6362:
-------------------------------------
Scott, I assume you have not seen [my reply|http://camel.465427.n5.nabble.com/Git-Account-tp5742361p5742425.html] to your post @ dev forum.
> camel-sjms - Consumers should always use dedicated Sessions
> -----------------------------------------------------------
>
> Key: CAMEL-6362
> URL: https://issues.apache.org/jira/browse/CAMEL-6362
> Project: Camel
> Issue Type: Improvement
> Components: camel-sjms
> Affects Versions: 2.11.0
> Reporter: Aaron Whiteside
> Assignee: Scott England-Sullivan
> Fix For: 2.13.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)