[
https://issues.apache.org/jira/browse/CAMEL-13955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925278#comment-16925278
]
Brad Harvey commented on CAMEL-13955:
-------------------------------------
Workaround is possible by adding a step in the route to emulate the completion
step - e.g. for GroupedBodyAggregationStrategy
{code:java}
.setBody(simple("exchangeProperty.CamelGroupedExchange"))
{code}
Or perhaps adding a processor to call the appropriate completion method on the
aggregation bean?
> SJMS-Batch does not support CompletionAware aggregators
> -------------------------------------------------------
>
> Key: CAMEL-13955
> URL: https://issues.apache.org/jira/browse/CAMEL-13955
> Project: Camel
> Issue Type: Bug
> Components: camel-sjms
> Affects Versions: 2.24.0
> Reporter: Brad Harvey
> Priority: Minor
>
> SJMS-Batch isn't aware of the CompletionAwareAggregationStrategy interface
> and so never calls the completion method.
> This prevents SJMS-Batch from working as expected with built in aggregators
> such as org.apache.camel.processor.aggregate.GroupedBodyAggregationStrategy -
> the aggregated message remains as an exchange header instead of being the
> message body.
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)