Red Hat Training
A Red Hat training course is available for JBoss Enterprise SOA Platform
7.15. ESB Notifier Action in JBPM
- Attach the
EsbNotifier
to the JBPMprocessdefinition.xml
file's outgoing transition as shown below:<node name="ShipIt"> <transition name="ProcessingComplete" to="end"> <action name="ShipItAction" class="org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier"> <esbCategoryName>BPM_Orchestration4</esbCategoryName> <esbServiceName>ShippingService</esbServiceName> <bpmToEsbVars> <mapping bpm="entireCustomerAsObject" esb="customer" /> <mapping bpm="entireOrderAsObject" esb="orderHeader" /> <mapping bpm="entireOrderAsXML" esb="entireOrderAsXML" /> </bpmToEsbVars> </action> </transition> </node>
- You can specify the following attributes:
- nameThis is required. It is the user-specified name of the action
- classThis is required. You must set it to
org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier