You have two subscribers on errorChannel (the stderr adapter and your transformer); this means they will alternate (round robin dispatching).
If you want to log as well as write to the file, define the error channel as publish/subscribe; that way, both subscribers get the messsage...
Otherwise, simply remove (or comment out) the stderr channel adapter.Code:<int:publish-subscribe-channel id="errorChannel" />


Reply With Quote