Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

7.15. ESB Notifier Action in JBPM

  1. 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>
    
  2. You can specify the following attributes:
    • name
      This is required. It is the user-specified name of the action
    • class
      This is required. You must set it to org.jboss.soa.esb.services.jbpm.actionhandlers.EsbNotifier