<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:spring="http://www.springframework.org/schema/beans"
       xmlns:mxml="http://www.mulesource.org/schema/mule/xml/2.0"
       xmlns:http="http://www.mulesource.org/schema/mule/http/2.0"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
       http://www.mulesource.org/schema/mule/xml/2.0 http://www.mulesource.org/schema/mule/xml/2.0/mule-xml.xsd
       http://www.mulesource.org/schema/mule/http/2.0 http://www.mulesource.org/schema/mule/http/2.0/mule-http.xsd">

    <mxml:xslt-transformer name="Xslt" xsl-file="stylesheet.xsl"/>

    <model name="PSMaxIntegration">
        
        <service name="PSMaxMsg1">
            <inbound>
                <http:inbound-endpoint name="httpEndpoint" host="localhost" port="8085"
                                       transformer-refs="Xslt" contentType="text/xml"/>
                <forwarding-router/>
            </inbound>
            <outbound>
                <outbound-pass-through-router>
                    <http:outbound-endpoint host="localhost" port="8087"/>
                </outbound-pass-through-router>
            </outbound>
        </service>

        <service name="PSMaxMsg2">
            <inbound>
                <inbound-endpoint address="http://localhost:8087"/>
                <forwarding-router/>
            </inbound>
        </service>

    </model>

</mule>
