Announcement Announcement Module
Collapse
No announcement yet.
File Split using spring integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • File Split using spring integration

    Hi ,

    I want to split a pdf based on the size i.e. if my pdf is of size more than 2 MB then it should split in the parts but each part should not exceed 2 MB. Do we have any inbuilt feature in spring integration?

    Thanks,
    Sunil

  • #2
    Do you mean simply split into byte[] for later re-assembly, or do you mean to create new readable PDFs for each chunk?

    We don't currently have framework code for either one; the first would be trivial to implement in a POJO, invoked via a <service-activator/>. The second would be harder; you'd probably have to use some library that can build PDFs, but I don't know how you could intelligently select the break point, and dealing with inline images etc will be tricky.

    Comment

    Working...
    X