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

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>
主站蜘蛛池模板: 永年县| 马尔康县| 抚州市| 柘城县| 灵石县| 克拉玛依市| 昌平区| 巫山县| 诏安县| 治县。| 堆龙德庆县| 荆州市| 永平县| 哈巴河县| 福建省| 建水县| 永春县| 西充县| 怀仁县| 岳西县| 临沭县| 丹江口市| 阳朔县| 信丰县| 南丰县| 横峰县| 永吉县| 乳源| 游戏| 屏东市| 景宁| 铜陵市| 沙河市| 洛川县| 汝城县| 闽清县| 尼勒克县| 九龙县| 乌拉特前旗| 固原市| 渝中区|