I have used file outbound adapter which listens to the global error channel
<file:outbound-channel-adapter channel="errorChannel" directory="file:${ErrorDirectoryLocation}" delete-source-files="true" />
But now i see one file per messages. I want all exceptions in one log file .How do i do this ?
I do not want to read from these files using another adaptor and write to a single file , which may be a performance hit. I want this to be done in a single adapter .
Should i be writing my own adaptor or spring provides any thing out of the box ?


Reply With Quote