Announcement Announcement Module
Collapse
No announcement yet.
How to do transaction management in file handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to do transaction management in file handling

    Hi,
    I am beginner in spring integration. I am reading records from the file, and publishing them. I wanted to do transaction management. Once all the records from the file has been published then only I wanted to move file to different folder.
    Does spring integration provides any adapter for this.

    Thanks
    Pravin

  • #2
    We are working on it now; the code is ready to merge and it should be in the next 2.2 milestone, due at the end of the month. When using a <transactional/> poller, the disposition-expression e.g. "payload.renameTo(...)" is executed after the commit. Even without a transaction, the disposition is done after the send has completed.

    https://github.com/SpringSource/spri...ation/pull/508

    Comment

    Working...
    X