You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/11/06 12:20:52 UTC
[jira] Created: (CAMEL-2142) Add a flag to CamelTransportFactory to
let camelDestination throw the exception when it gets fault message
Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
-----------------------------------------------------------------------------------------------------------
Key: CAMEL-2142
URL: https://issues.apache.org/activemq/browse/CAMEL-2142
Project: Apache Camel
Issue Type: Improvement
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 1.6.2, 2.1.0
Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
I plan to introduce a flag to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2142) Add a flag to CamelTransportFactory
to let camelDestination throw the exception when it gets fault message
Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55272#action_55272 ]
Christian Schneider commented on CAMEL-2142:
--------------------------------------------
Hi Willem,
I was also able to reproduce the problem in my patched version. For the meantime I added an onException clause to my non transactional route:
<onException>
<exception>java.lang.Exception</exception>
<handled><constant>true</constant></handled>
</onException>
> Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2142
> URL: https://issues.apache.org/activemq/browse/CAMEL-2142
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
> I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-2142) Add a flag to CamelTransportFactory to
let camelDestination throw the exception when it gets fault message
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-2142:
--------------------------------
Description:
Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
was:
Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
I plan to introduce a flag to CamelTransportFactory to check the fault message and through it out to the CamelContext.
> Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2142
> URL: https://issues.apache.org/activemq/browse/CAMEL-2142
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
> I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2142) Add a flag to CamelTransportFactory
to let camelDestination throw the exception when it gets fault message
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2142.
--------------------------------
Resolution: Fixed
> Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2142
> URL: https://issues.apache.org/activemq/browse/CAMEL-2142
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
> I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2142) Add a flag to CamelTransportFactory
to let camelDestination throw the exception when it gets fault message
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55287#action_55287 ]
Willem Jiang commented on CAMEL-2142:
-------------------------------------
trunk
http://svn.apache.org/viewvc?rev=833370&view=rev
camel 1.x branch
http://svn.apache.org/viewvc?rev=833373&view=rev
> Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2142
> URL: https://issues.apache.org/activemq/browse/CAMEL-2142
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
> I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-2142) Add a flag to CamelTransportFactory
to let camelDestination throw the exception when it gets fault message
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55286#action_55286 ]
Willem Jiang commented on CAMEL-2142:
-------------------------------------
Christian,
Yes , you can leverage the camel error handler to do this kind of job.
This option just make the old camel transport work without change anything :)
> Add a flag to CamelTransportFactory to let camelDestination throw the exception when it gets fault message
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2142
> URL: https://issues.apache.org/activemq/browse/CAMEL-2142
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the fault message as the normal message,
> I plan to introduce a flag(checkException) to CamelTransportFactory to check the fault message and through it out to the CamelContext.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.