Mule 1.4对JBPM的集成
<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog.html" frameborder="0" width="728" scrolling="no" height="90"></iframe><div class="postText">Mule 1.4集成了JBPM功能,这样就能将ESB和BPM的优势相互结合起来。支持分成两种:
1 ESB的事件触发JBPM的流程,配置如下:
<mule-descriptor name="ToBPMS" implementation="org.mule.components.simple.LogComponent"><br><inbound-router><br><endpoint address="Incoming1"></endpoint><br><endpoint address="Incoming2"></endpoint><br></inbound-router><br><outbound-router><br><router classname="org.mule.routing.outbound.FilteringOutboundRouter"><br><endpoint address="bpm://MyProcess" synchronous="false"></endpoint><br></router><br></outbound-router><br></mule-descriptor>
2 BPM流程触发ESB的事件
<mule-descriptor name="FromBPMS" implementation="org.mule.components.simple.LogComponent"><br><inbound-router><br><endpoint address="bpm://MyProcess"></endpoint><br></inbound-router><br><outbound-router><br><router classname="org.mule.routing.outbound.EndpointSelector"><br><endpoint address="Outgoing1"></endpoint><br><endpoint address="Outgoing2"></endpoint><br><endpoint address="Outgoing3"></endpoint><br></router><br></outbound-router><br></mule-descriptor>
页:
[1]