Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The three mode of running stockquote client can be explained as below.</p> <p><strong>Smart Client Mode:</strong></p> <p>In this mode you can specify the ESB proxy to be called by the client for mediation before send request to the final end point. You will use it when you need some mediation done in the ESB and then you want request to be send to the end point which you specified.</p> <p>For example,</p> <pre><code>ant stockquote -Daddurl=http://localhost:9000/services/SimpleStockQuoteService -Dtrpurl=http://localhost:8280/services/StockQuoteProxy1 -Dsymbol=SUN </code></pre> <p>trpurl : This is the ESB proxy to be called by the client , where needs some mediation to be done before calling the ulimate end point (addurl)</p> <p>addurl : This is what called by the ESB after doing the mediation.</p> <p><strong>Gateway / Dumb Client Mode:</strong></p> <p>In this way , client is not knowing where the final request will be delivered after the mediation inside the ESB, so ESB can make dynamic decison on the end point where it is mentioned inside the ESB proxy.You can define the endpoint inside ESB as you wish in your own logic using "endpoint" tag. You will use this when you want ESB logic to decide final message delivery point based on the logic inside the ESB proxy.</p> <pre><code>ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy1 -Dsymbol=SUN </code></pre> <p><strong>Proxy Client Mode:</strong></p> <p>You will see exactly the same behavior as per the previous example when you run this scenario. However, this time the difference is at the client, as it sends the message to the WS-Addressing "To" address http://:9000/services/SimpleStockQuoteService, but the transport specifies ESB as the HTTP Proxy. So you will use this when you want ESB to work as pass through proxy and no need any mediation inside, just forward request to the given endpoint in "To" address in WS-Addressing.</p> <pre><code>ant stockquote -Dprxurl=http://localhost:8280/ -Daddurl=http://localhost:9000/services/SimpleStockQuoteService </code></pre> <p>NOTE: addurl is optional here, add it here ,so client will add it to WS-Addressing "To" tag</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload