You can find the sample at [1]

[1]
http://docs.wso2.org/wiki/display/ESB460/Sample+253%3A+Bridging+from+JMS+to+HTTP+and+Replying+with+a+202+Accepted+Response


On Wed, Jun 12, 2013 at 5:21 PM, Amila Maha Arachchi <[email protected]>wrote:

> 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
>
>


-- 
*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