官术网_书友最值得收藏!

The send mediator

The send mediator is used to make a non-blocking request to a backend with the current payload. The backend is configured with the endpoints that can have implicit, inline, named, or store in the registry. When the send mediator is used in the out sequence, it will perform a response to the client.

This is the implicit send syntax:

<send/>

The following is the endpoint send syntax:

<send [receive="string"]>
    (endpointref | endpoint)+
</send>

Here, keep the following things in mind: endpointref is a named or registry endpoint. endpoint is an anonymous endpoint defined inline, receive is the sequence that processes the backend response.

For example, consider send with inline definition (endpoint type):

<send>
   <endpoint>
     <address uri="http://localhost:8280/services"/>
  </endpoint>
</send>

Now, consider send with a named endpoint (endpointref type):

<send receive="OutSequence">
<endpoint key="CreditEpr"/>
</send>
主站蜘蛛池模板: 合作市| 宜良县| 海淀区| 屏山县| 会同县| 丽江市| 徐汇区| 桓台县| 繁昌县| 寿阳县| 瑞丽市| 长葛市| 车险| 如皋市| 昌图县| 扶风县| 泰兴市| 土默特左旗| 鄂尔多斯市| 武邑县| 德格县| 临桂县| 太谷县| 株洲市| 右玉县| 建始县| 锡林郭勒盟| 理塘县| 山东| 漳平市| 宾川县| 涞水县| 巴林右旗| 乐陵市| 开封县| 周宁县| 出国| 菏泽市| 郸城县| 蒙山县| 湖北省|