简体   繁体   English

一个流in多入站esb

[英]multiple inbound in one flow mule esb

I need to create one esb flow. 我需要创建一个esb流。

  1. first use http inbound to post json. 首先使用http inbound发布json。
  2. on basis of post json I get filename. 根据发布的json我得到文件名。
  3. fetch that file from ftp server. 从ftp服务器获取该文件。
  4. drop that file to another ftp server 将该文件拖放到另一个ftp服务器
  5. call external api 调用外部API

is we can do this using esb? 我们可以使用esb做到这一点吗?

I am using first http-inbound to post json then ftp-inbound to fetch file but I am getting error? 我正在使用第一个http-inbound来发布json,然后使用ftp-inbound来获取文件,但是我遇到了错误?

You cannot use http inbound and ftp inbound or any other inbound together in same flow directly.. 您不能直接在同一流中同时使用http入站和ftp入站或任何其他入站。

Multiple inbound endpoints can be called in a same flow by using Mule Requester . 使用Mule Requester可以在同一流程中调用多个入站端点。

Using this Mule Requester , you can call any inbound endpoints in the same flow. 使用此Mule Requester ,您可以在同一流中调用任何入站端点。 Please check this for your reference :- http://blogs.mulesoft.org/introducing-the-mule-requester-module/ and examples to use it :- https://github.com/mulesoft/mule-module-requester/blob/master/mulerequesterdemo/src/main/app/MuleRequesterDemo.xml 请检查此作为参考: -http : //blogs.mulesoft.org/introducing-the-mule-requester-module/和使用它的示例-https : //github.com/mulesoft/mule-module-requester /blob/master/mulerequesterdemo/src/main/app/MuleRequesterDemo.xml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM