JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-3234

Not all message filters and routers support streams

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 2.0.0
  • Fix Version/s: Tech. Debt
  • Component/s: Core: Routing / Filters, Modules: XML, XSLT, XPath, SXC
  • Labels:
    • 20-streaming
    • CR
  • User impact:
    High
  • Effort points:
    1
  • Similar Issues:
    None

Description

I tried using both xml message filter and xml message splitting but both seemed to fail when using an incoming file endpoint. I had to turn off streaming on the file transport to get them to work.

This problem may also affect many other filters/splitters.

If the payload is not a org.dom4j.Document or a String the payload is considered not to be XML apart from that fact that streaming isn't supported.

  • FilteringXmlMessageSplitter
  • JXPathFilter

-Regex
-Wildcard

-FileToByteArray
http://www.nabble.com/Mule-transformers-not-being-invoked-tp17832226p17832226.html

We need to review all filters and routers for streaming compliance

I think we need to be able to deal with both InputStream and XML stream types. Also it might be worth working out how/where OutputHandler is used and if we need to handler this type also or not.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Java Archive File
    StreamingChunkingRouters.jar
    22/May/09 06:04 PM
    22 kB
    Angelo Bresci
    1. File
      META-INF/MANIFEST.MF 0.0 kB
    2. File
      fr/.../StreamingEventCorrelator.class 6 kB
    3. Java Source File
      fr/.../StreamingEventCorrelator.java 8 kB
    4. File
      fr/.../StreamingEventCorrelatorCallback.class 0.3 kB
    5. Java Source File
      fr/.../StreamingEventCorrelatorCallback.java 0.8 kB
    6. File
      fr/fastconnect/.../StreamingEventGroup.class 1 kB
    7. Java Source File
      fr/fastconnect/.../StreamingEventGroup.java 2 kB
    8. File
      fr/.../MessageStreamingChunkingAggregator$StreamingCorrelatorCallback.class 4 kB
    9. File
      fr/.../MessageStreamingChunkingAggregator.class 2 kB
    10. Java Source File
      fr/.../MessageStreamingChunkingAggregator.java 9 kB
    11. File
      fr/.../MessageStreamingChunkingRouter.class 4 kB
    12. Java Source File
      fr/.../MessageStreamingChunkingRouter.java 8 kB
    13. File
      .classpath 0.3 kB
    14. File
      .project 0.4 kB
    15. XML File
      conf/reader.xml 2 kB
    16. XML File
      conf/writer.xml 2 kB
    Download Zip
    Show
    Java Archive File
    StreamingChunkingRouters.jar
    22/May/09 06:04 PM
    22 kB
    Angelo Bresci
  2. XML File
    mule-config.xml
    05/Aug/09 01:50 PM
    6 kB
    Angelo Bresci

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MULE-3450 Variuos filters do not support streams

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-4096 Calls to transformers directly cause errors with consumed streams when stream payloads are being used

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Bug - A problem which impairs or prevents the functions of the product. MULE-3547 XML Routers/filters/transformers do not handle all XML message types

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MULE-2925 No transformers for HttpServletRequest to InputStream (and others?)

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Travis Carlson added a comment - 10/Jul/08 09:53 AM

Reviewed mule-module-xml: r12273

Show
Travis Carlson added a comment - 10/Jul/08 09:53 AM Reviewed mule-module-xml: r12273
Hide
Permalink
Travis Carlson added a comment - 14/Jul/08 06:29 AM

Created a separate issue for handling of all XML message types since it includes, but is not limited to, streaming.

Show
Travis Carlson added a comment - 14/Jul/08 06:29 AM Created a separate issue for handling of all XML message types since it includes, but is not limited to, streaming.
Hide
Permalink
Ross Mason added a comment - 03/Sep/08 10:54 PM

What is the status of this? And what is the aim? Does this mean that all filters and routers will be able to convert streams before processing the message?

Show
Ross Mason added a comment - 03/Sep/08 10:54 PM What is the status of this? And what is the aim? Does this mean that all filters and routers will be able to convert streams before processing the message?
Hide
Permalink
Daniel Feist added a comment - 04/Sep/08 02:33 PM

This is still pending. The aim is that all standard filter and routers can be used with stream payload and the filter converts the payload before using it rather than throwing exceptions.

Show
Daniel Feist added a comment - 04/Sep/08 02:33 PM This is still pending. The aim is that all standard filter and routers can be used with stream payload and the filter converts the payload before using it rather than throwing exceptions.
Hide
Permalink
Angelo Bresci added a comment - 20/May/09 04:51 PM

Pls. add MessageChunkingRouter and JMS transport to this list.

Show
Angelo Bresci added a comment - 20/May/09 04:51 PM Pls. add MessageChunkingRouter and JMS transport to this list.
Hide
Permalink
Angelo Bresci added a comment - 05/Aug/09 01:51 PM

Add MultiCastingRouter as well (see attached config)

Show
Angelo Bresci added a comment - 05/Aug/09 01:51 PM Add MultiCastingRouter as well (see attached config)

People

  • Assignee:
    Unassigned
    Reporter:
    Daniel Feist
Vote (0)
Watch (0)

Dates

  • Created:
    15/Apr/08 08:46 PM
    Updated:
    05/May/10 12:26 AM

Time Tracking

Estimated:
1d 2h
Original Estimate - 1 day, 2 hours
Remaining:
1d
Time Spent - 2 hours Remaining Estimate - 1 day
Logged:
2h
Time Spent - 2 hours Remaining Estimate - 1 day

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.