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/10/18 00:22:53 UTC

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

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


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.


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

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

Guillaume Nodet resolved SM-1636.
---------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: servicemix-eip-2008.02
       Resolution: Fixed

Sending        trunk/src/main/java/org/apache/servicemix/eip/patterns/Pipeline.java
Sending        trunk/src/test/java/org/apache/servicemix/eip/PipelineTest.java
Transmitting file data ..
Committed revision 709801.

Thanks Ron for this patch

> 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
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: servicemix-eip-2008.02
>
>         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.


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

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46981#action_46981 ] 

Ron Gavlin commented on SM-1636:
--------------------------------

Please backport to SMX 3.2.x branch if possible.

> 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
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: servicemix-eip-2008.02
>
>         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.


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

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

Guillaume Nodet resolved SM-1636.
---------------------------------

    Fix Version/s: 3.2.4
       Resolution: Fixed

Sending        src/main/java/org/apache/servicemix/eip/patterns/Pipeline.java
Sending        src/test/java/org/apache/servicemix/eip/support/BaseAbstractAggregatorTest.java
Transmitting file data ..
Committed revision 710052.

> 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
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: servicemix-eip-2008.02, 3.2.4
>
>         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.


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

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

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

    Patch Info: [Patch Available]

> 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.


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

Posted by "Ron Gavlin (JIRA)" <ji...@apache.org>.
     [ 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.


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

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

Ron Gavlin reopened SM-1636:
----------------------------


Please backport to SMX 3.2.x branch.

> 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
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: servicemix-eip-2008.02
>
>         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.