Hi,
Is there a way to "factorize" a <chain> so it can be reused at different other places with different input and output channels?
For example, at different places in my configuration files, I need to do the following:
but for different input and output channels.Code:<chain id="commonChain"> <header-enricher> ... </header-enricher> <service-activator> ... </service-activator> <gateway> ... </gateway> </chain>
It would be nice if it was possible to only write something like :
anytime I need to do the same chain of endpoints.Code:<chain ref="commonChain" input-channel="channelX" output-channel="channelY" />
Is there currently such a feature I wouldn't be aware of? If not, would it make sense to implement something like that?
Thank you!
-- Pierre


Reply With Quote
