This post originated from an RSS feed registered with Java Buzz
by Andrej Koelewijn.
Original Post: Response transformers on Mule outbound endpoints
Feed Title: Andrej Koelewijn
Feed URL: http://feeds.feedburner.com/AndrejKoelewijn
Feed Description: On Oracle, Java and OpenSource
A coworker found a message on the mule-user mailing list that said that you have to apply response transformers on inbound endpoints, not on outbound endpoints. Sounds a bit weird to me, at least not very intuitive. Time for a test.
Response transformer in a pass-through-router
Here’s the mule config:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2" xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2"
xmlns:scripting="http://www.mulesource.org/schema/mule/scripting/2.2"
xsi:schemaLocation="
http://www.mulesource.org/schema/mule/scripting/2.2
http://www.mulesource.org/schema/mule/scripting/2.2/mule-scripting.xsd
http://www.mulesource.org/schema/mule/core/2.2
http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/http/2.2
http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
http://www.mulesource.org/schema/mule/vm/2.2
http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd">
<scripting:transformer [...]