You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ron Gavlin (JIRA)" <ji...@apache.org> on 2008/11/01 23:29:06 UTC

[jira] Updated: (SM-1636) EIP Pipeline with "sendFaultsToTarget" = true does not copy properties and attachments to target ME "in" message for a fault

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

Ron Gavlin updated SM-1636:
---------------------------

    Attachment: sm-1636.patch

Patch with sync and async unit tests attached

> EIP Pipeline with "sendFaultsToTarget" = true does not copy properties and attachments to target ME "in" message for a fault
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1636
>                 URL: https://issues.apache.org/activemq/browse/SM-1636
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-eip
>    Affects Versions: servicemix-eip-2008.01
>            Reporter: Ron Gavlin
>            Priority: Critical
>         Attachments: sm-1636.patch
>
>
> EIP Pipeline with "sendFaultsToTarget" = true does not copy properties and attachments to target ME "in" message for a fault. 
> Thus, when the pipeline is bookended by an EIP StaticRecipientList and an EIP RecipientListAggregator and a fault is thrown by the pipeline transformer, the following exception occurs:
> java.lang.IllegalArgumentException: Could not retrieve correlation id for incoming exchange
> at org.apache.servicemix.eip.support.AbstractAggregator.processProvider(AbstractAggregator.java:204)
> at org.apache.servicemix.eip.support.AbstractAggregator.process(AbstractAggregator.java:190)
> at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:540)
> ...
> (this stack trace is from version smx 3.3.1.6-fuse but the problem exists in the current smx trunk as well)
> Pipeline.java should be modified to copy properties and attachments when the transformer "fault" message is copied to the target "in" message due to "sendFaultsToTarget" being true. The code should be similar to where the transformer "out" message is copied to the target "in" message. 
> This is required in both the sync and async code.
> Ron

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