Hi,
I am using Spring Integration in my project.
Below is the part of the configuration that i am using in my project whenever there is an exception in the header enricher it is not propogated to the error channel
Code:
<header-enricher>
<header name="Information" method="extractInformation" ref="infoExtractor" />
<error-channel ref="InfoErrorChannel"/>
</header-enricher>
<transformer input-channel="InfoErrorChannel">
<beans:bean class="com.test.integration.ErrorBuilder">
<beans:property name="description" value="Error in info extractor" />
</beans:bean>
</transformer>
Kindly throw some light on this
Thanks,
Shekar