[jira] Created: (CAMEL-976) Exception type - document new failureHandled DSL predicate

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
Exception type - document new failureHandled DSL predicate
----------------------------------------------------------

                 Key: CAMEL-976
                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
             Project: Apache Camel
          Issue Type: Sub-task
          Components: documentation
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 1.5.0




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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org

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

Claus Ibsen commented on CAMEL-976:
-----------------------------------

Should also cover DLC as well, and the onException

Notice how you can have fallback handled policies:
1st onException
2nd DLC

So if onException has a predicate it will use this one, if not then use from DLC (if any). Its either one, not testing both. So if 1st evaluates to *false* then its not handled, even though the DLC would evalute to *true*.

Should we consider letting it be or? instead, if either one of #1 and #2 returns true then its handled?

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Work on CAMEL-976 started by Claus Ibsen.

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Claus Ibsen updated CAMEL-976:
------------------------------

    Comment: was deleted

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Claus Ibsen resolved CAMEL-976.
-------------------------------

    Resolution: Fixed

See error handler and exception clause documentation

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Hadrian Zbarcea commented on CAMEL-976:
---------------------------------------

Looks like you're beating me to it :).  Awsome, thanks!

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-976) Exception type - document new failureHandled DSL predicate

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Claus Ibsen commented on CAMEL-976:
-----------------------------------

Yeah its team-work ;)
Please review it.

I was curious how this worked so adding documentation and unit testing is a great technique to learn it.

> Exception type - document new failureHandled DSL predicate
> ----------------------------------------------------------
>
>                 Key: CAMEL-976
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-976
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>


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