Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-769

File OutBound Adaptor which writes all messages into a channel into a single file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.0.3
    • Fix Version/s: 2.2. GA
    • Component/s: Adapters
    • Labels:
      None

      Description

      I have used file outbound adapter which listens to the global error channel

      <fileutbound-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 ?

        Attachments

          Activity

            People

            Assignee:
            mark.fisher Mark Fisher
            Reporter:
            sudheerk84 Sudheer
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: