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

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>
主站蜘蛛池模板: 杭州市| 临清市| 永和县| 赤峰市| 泰和县| 大新县| 虹口区| 万全县| 昭平县| 天柱县| 曲松县| 全南县| 昭苏县| 寻乌县| 贺州市| 清苑县| 桃园县| 湖州市| 米易县| 泸定县| 沙湾县| 建湖县| 京山县| 县级市| 女性| 濮阳市| 左贡县| 井陉县| 白沙| 石城县| 枣强县| 定日县| 龙胜| 宁波市| 梨树县| 铁岭县| 石狮市| 三河市| 阿勒泰市| 惠水县| 拉萨市|