Reputation: 374
The Mule 'Using Transformers' documentation lists many out-of-the-box transformers, among them ObjectToInputStream and ObjectToString:
http://www.mulesoft.org/documentation/display/current/Using+Transformers
For ObjectToString, it can be configured for example like this:
<object-to-string-transformer name="object-to-string" />
but the corresponding does not work for ObjectToInputStream :
<object-to-input-stream-transformer name="object-to-input-stream" />
How can the ObjectToInputStream-transformer be configured, and what is it's default 'name'?
Thanks in advance!
Upvotes: 2
Views: 555
Reputation: 6697
Mule hasn't provided the config tag for this transformer.
But the transformer is already available in the mule basic transformers. Try it this way.
<custom-transformer class="org.mule.transformer.simple.ObjectToInputStream"></custom-transformer>
Hope this helps.
Upvotes: 5