Issue Details (XML | Word | Printable)

Key: MULE-4096
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: Daniel Feist
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Calls to transformers directly cause errors with consumed streams when stream payloads are being used

Created: 15/Jan/09 08:38 AM   Updated: 03/Aug/10 07:57 PM
Component/s: Core: Transformers, Modules: XML, XSLT, XPath
Affects Version/s: 2.1.2
Fix Version/s: Bug Backlog

Time Tracking:
Not Specified

Issue Links:
Related

Labels: 30CE_REVIEW ws-messaging-webinar
User impact: Medium
Similar Issues:


 Description  « Hide
MuleMessage has a mechanism where by when a consumable payload type (one that can only be read once) is read the message payload gets updated with a new payload so that the message can be read again by filters/transformers/dispatchers etc.

This mechanism works well, but when transformers are called directly which often occurs from things like filters this mechanism is bypassed and problems occur.

Only workaround is to manually insert transformers that transform to a non-consumable type just before the filter for example with the issue. This is undesirable though but in terms of configuration and in some cases possibly performance.

One example is jaxen-filter, I'm sure there are others too.



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Daniel Feist added a comment - 04/Mar/09 07:14 PM
Best way to resolve this is my implementing a single entry point for all transformation operation and if possible restricting visibility/access to call transformers directly, otherwise we will never be able to fully cover the consumable payload scenarios.

Mateo Almenta Reca added a comment - 03/Aug/10 07:47 PM
Has this been fixed with the new Mule 3.0 CE arch?

Daniel Feist added a comment - 03/Aug/10 07:57 PM
No