Created
June 30, 2010 21:57
-
-
Save ddossot/459280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" | |
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2" | |
xmlns:data-int="http://www.mulesoft.com/schema/mdi/data-int/2.2" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
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.mulesoft.com/schema/mdi/data-int/2.2 http://www.mulesoft.com/schema/mdi/data-int/2.2/mule-module-data-int.xsd"> | |
<data-int:transformer name="geofeed_mapper" | |
mapPath="/helios-dc-mdi/Maps/atom_to_java" | |
sourceType="BYTES" | |
resultType="JAVA"> | |
<data-int:project archive="helios-dc-mdi.zip" | |
project="helios-dc-mdi" /> | |
</data-int:transformer> | |
<model name="helios-dc"> | |
<service name="total-roadworks"> | |
<inbound> | |
<http:inbound-endpoint address="http://localhost:8080/roadworks" | |
synchronous="true" /> | |
</inbound> | |
<outbound> | |
<pass-through-router> | |
<http:outbound-endpoint address="http://gisweb2.vancouver.ca/georss/roadahead_georss.xml" | |
synchronous="true"> | |
<response-transformers> | |
<object-to-byte-array-transformer /> | |
<transformer ref="geofeed_mapper" /> | |
<object-to-string-transformer /> | |
</response-transformers> | |
</http:outbound-endpoint> | |
</pass-through-router> | |
</outbound> | |
</service> | |
</model> | |
</mule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment