You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Somchai (JIRA)" <ji...@apache.org> on 2012/06/19 07:27:42 UTC

[jira] [Created] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Somchai  created CAMEL-5378:
-------------------------------

             Summary: recipientList and onException with useOriginalMessage not worked as expected
                 Key: CAMEL-5378
                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.9.2
            Reporter: Somchai 
         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java

According to this conversation, 
http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html

Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398253#comment-13398253 ] 

Claus Ibsen commented on CAMEL-5378:
------------------------------------

I added a FAQ
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=27850079
                
> recipientList and onException with useOriginalMessage not worked as expected
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Somchai 
>            Assignee: Claus Ibsen
>             Fix For: 2.10.0
>
>         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
>
>
> According to this conversation, 
> http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html
> Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Posted by "Somchai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Somchai  updated CAMEL-5378:
----------------------------

    Attachment: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
    
> recipientList and onException with useOriginalMessage not worked as expected
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Somchai 
>         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
>
>
> According to this conversation, 
> http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html
> Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Posted by "Somchai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Somchai  closed CAMEL-5378.
---------------------------

    Estimated Complexity: Novice  (was: Unknown)
    
> recipientList and onException with useOriginalMessage not worked as expected
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Somchai 
>            Assignee: Claus Ibsen
>             Fix For: 2.10.0
>
>         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
>
>
> According to this conversation, 
> http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html
> Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5378.
--------------------------------

       Resolution: Not A Problem
    Fix Version/s: 2.10.0
         Assignee: Claus Ibsen

This is working as designed.

In Camel 3.0 the message history EIP is to be refactored, and in this line of work, we should make the shareUnitOfWork / useOriginalMessage a bit more simpler to configure/use. 

And maybe change default settings. As for the recipient list it would be more natural to have shareUnitOfWork enabled by default.

See this unit test, how to make this work for you.
http://svn.apache.org/viewvc?rev=1351583&view=rev
                
> recipientList and onException with useOriginalMessage not worked as expected
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Somchai 
>            Assignee: Claus Ibsen
>             Fix For: 2.10.0
>
>         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
>
>
> According to this conversation, 
> http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html
> Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5378) recipientList and onException with useOriginalMessage not worked as expected

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396539#comment-13396539 ] 

Claus Ibsen commented on CAMEL-5378:
------------------------------------

You need to enable the shareUnitOfWork option on the recipient list EIP
                
> recipientList and onException with useOriginalMessage not worked as expected
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5378
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Somchai 
>         Attachments: RecipientListUseOriginalMessageEndpointExceptionIssueTest.java
>
>
> According to this conversation, 
> http://camel.465427.n5.nabble.com/useOriginalMessage-in-recipientList-return-the-wrong-message-td5675017.html
> Attached file is the unit test that produces the bug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira