Hello!
Well, there is some other workaround for you:
HTML Code:
<channel-interceptor pattern="routing1, routing1, routingN">
<beans:bean class="org.springframework.integration.transformer.MessageTransformingChannelInterceptor">
<beans:constructor-arg>
<beans:bean class="org.springframework.integration.transformer.ClaimCheckInTransformer">
<beans:constructor-arg ref="messageStore"/>
</beans:bean>
</beans:constructor-arg>
</beans:bean>
</channel-interceptor>
But I'd named it as "anti-pattern": it's breaks the main purpose of message-flow. I don't like any transformation of the payload in the interceptors.
I'd said you need: Routing Slip, but unfortunaly we don't have yet similar solution in the Spring Integration: https://jira.springsource.org/browse/INT-267.
So, you can vote it and may we pull this issue to the closer timeline.
Take care,
Artem