I am fairly new to Spring integration, but learning so far.
I am getting messages from a channel named "Channel-1" and passing on to "Channel-2" through a bridge
<task:executor id="Channel2Executor" pool-size="${executor.pool.size}" rejection-policy="CALLER_RUNS" />
<int:channel id="Channel-2">
<int:dispatcher task-executor="Channel2Executor"/>
</int:channel>
<int:bridge id="adapterParserBridge" input-channel="Channel-1" output-channel="Channel-2">
</int:bridge>
Strange thing is that when I deploy the application in JBoss, first time the message passes through and makes to end of my subsequent flow, though there are some errors in later part of flow.
Second time onwards the message reaches till "Channel-1", but never makes beyond - no errors, no logs, all on DEBUG mode, no trace of anything.
So my questions are:
1) Are the errors which are happening in later part of flow cause of such an issue?
2) How to debug such an drop of message for no reason and without any error?
3) Any other suggestions or pointers to drill through these channels would be great