[jira] Created: (CAMEL-1001) ExceptionType handledPolicy is not exposed in the XSD

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

[jira] Created: (CAMEL-1001) ExceptionType handledPolicy is not exposed in the XSD

JIRA jira@apache.org
ExceptionType handledPolicy is not exposed in the XSD
-----------------------------------------------------

                 Key: CAMEL-1001
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 1.5.0
            Reporter: Ron Gavlin


ExceptionType handledPolicy is not exposed in the XSD.

See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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] Assigned: (CAMEL-1001) ExceptionType handledPolicy is not exposed in the XSD

JIRA jira@apache.org

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

Claus Ibsen reassigned CAMEL-1001:
----------------------------------

    Assignee: Claus Ibsen

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Claus Ibsen commented on CAMEL-1001:
------------------------------------

The spring DSL is really not easily usable for the more complex stuff you can do in Java.

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Ron Gavlin commented on CAMEL-1001:
-----------------------------------

Hi Claus,

Yes, Spring DSL is limiting. However, would it be possible to simply expose the "HandledPolicy" setter so that I can dependency inject a value using Spring?

- Ron

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Claus Ibsen commented on CAMEL-1001:
------------------------------------

CAMEL-1014 is needed to allow using expressions/predicates. That will be in Camel 2.0

So I am thinking of setting a boolean you can use for handled as this is the most common use-case anyway?

What do you think Ron?
  <handled>true</handled>

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Ron Gavlin commented on CAMEL-1001:
-----------------------------------

Yes, that would be great.

Thanks,

- Ron

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Claus Ibsen commented on CAMEL-1001:
------------------------------------

Great I have the java DSL example from here:
http://activemq.apache.org/camel/exception-clause.html

Now working with Spring DSL. So I need to tidy it up and add some snippets so we can have the spring sample in the wiki doc as well.

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Work on CAMEL-1001 started by Claus Ibsen.

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Claus Ibsen resolved CAMEL-1001.
--------------------------------

    Fix Version/s: 1.5.0
       Resolution: Fixed

See wiki for sample

http://cwiki.apache.org/confluence/display/CAMEL/Exception+Clause

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Ron Gavlin commented on CAMEL-1001:
-----------------------------------

Hi Claus,

Thanks for the excellent support!

/Ron

> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

--
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-1001) ExceptionType handledPolicy is not exposed in the XSD

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

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

Jonathan Anstey commented on CAMEL-1001:
----------------------------------------

Hey guys,

If you want to use other expression languages in the handled element, I've just added support for this. So the simple boolean case now looks like

{code}
<handled>
  <constant>true</constant>
</handled>
{code}


> ExceptionType handledPolicy is not exposed in the XSD
> -----------------------------------------------------
>
>                 Key: CAMEL-1001
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1001
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Ron Gavlin
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> ExceptionType handledPolicy is not exposed in the XSD.
> See nabble thread http://www.nabble.com/RE%3A-How-to-express-new-%22handled%22-predicate-in-Spring-DSL-p20069223.html.

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