You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Mateusz Nowakowski (JIRA)" <ji...@apache.org> on 2011/06/06 13:27:58 UTC

[jira] [Created] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

continued(true) doesn't work when is invoked for the second time in the Camel flow
----------------------------------------------------------------------------------

                 Key: CAMEL-4057
                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.7.2, 2.4.0
         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
            Reporter: Mateusz Nowakowski
             Fix For: 2.8.0


When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Claus Ibsen commented on CAMEL-4057:
------------------------------------

Bean yeah I think that does the trick. There is a number of error handler related metadata to keep track on :).
Can you retest with latest update from trunk as I just committed an improvement to the error handling in general.

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>            Assignee: Ben O'Day
>              Labels: continued, exception, handler
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4057.patch, ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Mateusz Nowakowski updated CAMEL-4057:
--------------------------------------

    Attachment: ContinuedTest.java

Attached testcase which shows the issue.
Testes against Camel 2.7.2 and 2.4.0-fuse-00-00

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>              Labels: continued, exception, handler
>             Fix For: 2.8.0
>
>         Attachments: ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Ben O'Day resolved CAMEL-4057.
------------------------------

    Resolution: Fixed

tested against latest and all seems well...just committed the fix

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>            Assignee: Ben O'Day
>              Labels: continued, exception, handler
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4057.patch, ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Ben O'Day reassigned CAMEL-4057:
--------------------------------

    Assignee: Ben O'Day

this also fails when simply throwing an exception multiple times in the same route...I'm looking into it

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>            Assignee: Ben O'Day
>              Labels: continued, exception, handler
>             Fix For: 2.8.0
>
>         Attachments: ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Daniel Kulp updated CAMEL-4057:
-------------------------------

    Fix Version/s: 2.7.3

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>            Assignee: Ben O'Day
>              Labels: continued, exception, handler
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: CAMEL-4057.patch, ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4057) continued(true) doesn't work when is invoked for the second time in the Camel flow

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

Ben O'Day updated CAMEL-4057:
-----------------------------

    Attachment: CAMEL-4057.patch

here is a proposed fix for this...just removing the Exchange.FAILURE_HANDLED property from the exchange (when being continued) did the trick...I don't see any side effects yet, but I'm still testing it...if anyone sees any issues with this, let me know...thanks

> continued(true) doesn't work when is invoked for the second time in the Camel flow
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4057
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4057
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0, 2.7.2
>         Environment: Apache Camel 2.4.0-fuse-00-00 and Apache Camel 2.7.2 
>            Reporter: Mateusz Nowakowski
>            Assignee: Ben O'Day
>              Labels: continued, exception, handler
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4057.patch, ContinuedTest.java
>
>
> When Camel flow contains error handling as continued(true), it is not invoked when the error occurs for the second time (even in different onException).
> What is more the exception is not handled even by global onException and Camel flow is interruped. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira