You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/04/21 07:30:33 UTC

[jira] Created: (CAMEL-1551) HandleFault - Should not be a processor but interceptor

HandleFault - Should not be a processor but interceptor
-------------------------------------------------------

                 Key: CAMEL-1551
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1551
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0


This DSL is seldom used but its for the JBI world where FAULT can be converted into an Exception instead.

Currently its a processor but it should be an interceptor strategy just as stream cache, as it needs to be applied for every node.

The problem was not surfaced before CAMEL-1548 where the error handler is now applied much more fine grained.

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


[jira] Resolved: (CAMEL-1551) HandleFault - Should not be a processor but interceptor

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

Claus Ibsen resolved CAMEL-1551.
--------------------------------

    Resolution: Fixed

trunk: 767405

Is enabled just like the tracer. There is an attribute on camel context in XML.
And in Java you do it like the tracer.

The purpose of this interceptor is to convert FAULT body messages into exceptions. A rare use case but for the folks in the JBI world.

> HandleFault - Should not be a processor but interceptor
> -------------------------------------------------------
>
>                 Key: CAMEL-1551
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1551
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> This DSL is seldom used but its for the JBI world where FAULT can be converted into an Exception instead.
> Currently its a processor but it should be an interceptor strategy just as stream cache, as it needs to be applied for every node.
> The problem was not surfaced before CAMEL-1548 where the error handler is now applied much more fine grained.

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


[jira] Commented: (CAMEL-1551) HandleFault - Should not be a processor but interceptor

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51336#action_51336 ] 

Willem Jiang commented on CAMEL-1551:
-------------------------------------

Yes, we need recheck this change when updating  the Camel version of servicemix-camel component  to 2.0.

> HandleFault - Should not be a processor but interceptor
> -------------------------------------------------------
>
>                 Key: CAMEL-1551
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1551
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> This DSL is seldom used but its for the JBI world where FAULT can be converted into an Exception instead.
> Currently its a processor but it should be an interceptor strategy just as stream cache, as it needs to be applied for every node.
> The problem was not surfaced before CAMEL-1548 where the error handler is now applied much more fine grained.

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