This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
tcp-inbound-gateway error-channel assistancePage Title Module
Wrangler, I was going through this thread, Could you please share the final code snippet along with the wiring snap shot please. Thanks.
It has been a while since I looked at this thread, or the code. My exception handling starts at the gateway, which has the property error-channel="inboundGatewayErrorChannel", which is just a channel definition.
At one time I started to look into the channel having a queue:
<!--The gateway error channel is a queue channel so it runs in a separate thread form the source-->
My next step wqas to set up a service activtor, so a POJO can do some useful business logic, which for me is building a proper SOAP fault as a String of XML.
Since we have a particular way to do async audit logging with a POJO, I use a wiretap POJO, for which the output is then bridged to the gateway output channel. Our audut logging can toggled to enabled/disabled using an external property file value.