[
https://issues.apache.org/jira/browse/CAMEL-11690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156672#comment-16156672
]
Claus Ibsen commented on CAMEL-11690:
-------------------------------------
Yeah its being called for the routing slip itself, and each slip endpoint that
was sent to, eg in your example there is 1 slip, so its 1 + 1 = 2.
However yes ideally it should only be called when the routing slip itself is
done, and be 1. This is how some of the other EIPs do it like recipient list,
splitter etc.
But routing slip is implemented on a different foundation than those, and hence
why it was different.
> Done() called two times in RoutingSlip processor
> ------------------------------------------------
>
> Key: CAMEL-11690
> URL: https://issues.apache.org/jira/browse/CAMEL-11690
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.17.7, 2.18.4, 2.19.1
> Reporter: Stefan Boller
> Assignee: Claus Ibsen
> Priority: Minor
> Attachments: RoutingSlipWithInterceptorTest.java
>
>
> Hi,
> I found the following issue, if I use the RoutingSlip with an
> InterceptStrategy. The done()-method of the interceptor, which intercepts the
> RoutingSlip, is called twice instead of only once. The attached test case
> reproduces this behavior.
> Best regards
> STefan
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)