Hi,

Sample 253 of ESB is about bridging a message from JMS to HTTP. Sample
documentation has two proxies defined.

1.

<proxy name="JMStoHTTPStockQuoteProxy" transports="jms">
        <target>
            <inSequence>
                <property action="set" name="OUT_ONLY" value="true"/>
            </inSequence>
            <endpoint>
                <address uri="
http://localhost:9000/services/SimpleStockQuoteService";<http://localhost:9000/services/SimpleStockQuoteService>
/>
            </endpoint>
            <outSequence>
                <send/>
            </outSequence>
        </target>
        <publishWSDL uri=
"file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
    </proxy>

Above proxy does the JMS to HTTP bridging and caters the sample's intention.

2.


<proxy name="OneWayProxy" transports="http">
        <target>
            <inSequence>
                <log level="full"/>
            </inSequence>
            <endpoint>
                <address uri="
http://localhost:9000/services/SimpleStockQuoteService";<http://localhost:9000/services/SimpleStockQuoteService>
/>
            </endpoint>
            <outSequence>
                <send/>
            </outSequence>
        </target>
        <publishWSDL uri=
"file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
    </proxy>

This is just a http proxy. Why have we put this proxy under this sample?
For me it is irrelevant and confusing when going through the sample.

WDYT?

Regards,
AmilaM.
-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to