使用 Apache ODE JBI 组件在 ServiceMix 中进行处理
我使用 Apache ODE JBI 组件安装了 Servicemix,然后部署了示例 HelloWorld2,它有两个服务单元:Ode bpel 引擎(用于进程)和 http(用于外部端点)。在外部我用soapUI进行了测试并且工作正常。
然后我修改了HelloWorld2服务程序集,使其仅适用于Ode的服务单元,并且我已经使用PMAPI“访问”了该进程,并且我已经获得了有关该进程的信息(TProcessInfo),也很好。
我不清楚是否有机会在没有从 ESB 暴露任何外部端点的情况下进行外部交互/启动进程。
请帮忙,抱歉英语不好。
I installed Servicemix with the Apache ODE JBI component, and then I deployed the example HelloWorld2, which has two service units: Ode bpel engine (for the process) and http (for the external end point). Externally I tested with soapUI and works fine.
Then I modified the HelloWorld2 service assembly to works only with the service unit of Ode, and I've "accesed" to the proccess using PMAPI, and I've obtained information about the process (TProcessInfo), fine too.
I have not clear if there is a chance to interact/initiate a process of externally without any external endpoint exposed from the ESB.
Please help, and sorry for the bad English.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,这不是 JBI 或 ServiceMix 的工作原理。 SMX 负责在服务引擎或绑定组件公开的服务端点之间交换消息。前者可以托管包含并提供特定功能实现的服务单元,例如 BPEL 流程或 JAXWS 服务。后者可以外部化内部端点,以调用远程服务或使实现可以通过某种传输协议进行访问。因此,如果不为通过某种传输公开内部流程端点的绑定组件定义服务单元,就不可能从外部世界访问该流程。只有其他服务引擎或绑定组件可以直接访问内部端点
No, this is not how JBI or ServiceMix works. SMX is in charge of exchanging messages between service endpoints exposed by service engines or binding components. The former can host setvice units that contain and provide an implementation of a certain functionality, such as a BPEL process or a JAXWS service. The latter can externalize internal endpoints, either to invoke remote services or to make the implementation accessible via a certain transport protocol. Thus, without defining a service unit for a binding component that exposes the internal process endpoint via some transport, it is not possible to access the process from the outside world. Only other service engines or binding components may directly access internal endpoints