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

Ron Gavlin reopened SMXCOMP-495:
--------------------------------

    Regression: [Regression]

The new JbiExchange.setProperty() method introduced by this fix is causing a 
regression in which the flow below is now generating the stack trace below. 

Obviously, the smx MessageExchangeImpl is not expecting the Camel component to 
set a property on itself in this context. I will investigate adding a unit test 
to JbiExchangeTest that will hopefully reproduce the problem. If you can take a 
look at this issue in the meantime, it would be appreciated.

Thanks,

/Ron

FLOW:
smx-jms consumer -> smx-camel aggregator -> smx-saxon xquery transform -> 
smx-jms provider

STACK TRACE:
Exception in thread "Batch Sender" java.lang.IllegalStateException: component 
is not owner
  at 
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setProperty(MessageExchangeImpl.java:403)
  at org.apache.servicemix.camel.JbiExchange.setProperty(JbiExchange.java:92)
  at 
org.apache.camel.processor.aggregate.DefaultAggregationCollection.add(DefaultAggregationCollection.java:81)
  at 
org.apache.camel.processor.aggregate.DefaultAggregationCollection.add(DefaultAggregationCollection.java:37)
  at 
org.apache.camel.processor.BatchProcessor$BatchSender.drainQueueTo(BatchProcessor.java:268)
  at 
org.apache.camel.processor.BatchProcessor$BatchSender.run(BatchProcessor.java:231)


> smx-camel errorHandler does not forward CamelCaughtException message property 
> to target JBI endpoint
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-495
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-495
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: servicemix-camel-2009.02
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>             Fix For: 3.2.4, servicemix-camel-2009.02
>
>         Attachments: camel_test_cleanup.patch, smxcomp-495.patch
>
>
> smx-camel errorHandler does not forward CamelCaughtException message property 
> to target JBI endpoint. A unit test will be forthcoming.

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

Reply via email to