[jira] Created: (CAMEL-1795) camel-jms - wrong defaults causes message listener to use new thread when receiving a message

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (CAMEL-1795) camel-jms - wrong defaults causes message listener to use new thread when receiving a message

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

camel-jms - wrong defaults causes message listener to use new thread when receiving a message
---------------------------------------------------------------------------------------------

                 Key: CAMEL-1795
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1795
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 2.0-M2, 1.6.1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Critical
             Fix For: 1.6.2, 2.0.0


JmsConfiguratiuon have a bad default
maxMessagesPerTask=1

It should be -1 as we do not want to strict the DefaultMessageListenerContainer to only handle 1 message per thread.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1795) camel-jms - wrong defaults causes message listener to use new thread when receiving a message

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52678#action_52678 ]

Claus Ibsen commented on CAMEL-1795:
------------------------------------

A workaround is to always use option {{maxMessagesPerTask=-1}} on all your JMS endpoints.

> camel-jms - wrong defaults causes message listener to use new thread when receiving a message
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1795
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1795
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.6.1, 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.6.2, 2.0.0
>
>
> JmsConfiguratiuon have a bad default
> maxMessagesPerTask=1
> It should be -1 as we do not want to strict the DefaultMessageListenerContainer to only handle 1 message per thread.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1795) camel-jms - wrong defaults causes message listener to use new thread when receiving a message

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1795.
--------------------------------

    Resolution: Fixed

trunk: 790936
1.x: 790946.

Updated wiki with a warning on the jms page

> camel-jms - wrong defaults causes message listener to use new thread when receiving a message
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1795
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1795
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.6.1, 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.6.2, 2.0.0
>
>
> JmsConfiguratiuon have a bad default
> maxMessagesPerTask=1
> It should be -1 as we do not want to strict the DefaultMessageListenerContainer to only handle 1 message per thread.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1795) camel-jms - wrong defaults causes message listener to use new thread when receiving a message

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-1795:
-----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0-M3

> camel-jms - wrong defaults causes message listener to use new thread when receiving a message
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1795
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1795
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.6.1, 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.6.2, 2.0-M3
>
>
> JmsConfiguratiuon have a bad default
> maxMessagesPerTask=1
> It should be -1 as we do not want to strict the DefaultMessageListenerContainer to only handle 1 message per thread.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.