Announcement Announcement Module
Collapse
No announcement yet.
Efficient splitting for XML documents Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Efficient splitting for XML documents

    Spring Integration 1.0 provides an XPathMessageSplitter which uses the DOM to evaluate and XPATH expression. My concern is that this will blow out the JVM with large XML files.

    What alternative(s) should we consider? Does SI 2.0 address this issue?

  • #2
    Spring Batch has streaming XML utilities that you might be able to use (see StaxEventItemReader). You can just depend on spring-batch-infrastructure (pretty lightweight jar).

    Comment


    • #3
      Thanks! I'll take a look.

      Comment

      Working...
      X