이 콘텐츠는 선택한 언어로 제공되지 않습니다.
7.16. Configuring the ESB Action Handler
- Attach the
EsbActionHandlerto a node to call an action when that node is entered. When theEsbActionHandleris executed, the node waits for a transition signal (normally sent by theJBossESB callbackservice). - Configure as follows:
<action name="create_new_process_instance" class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor"> <property name="command" value="StartProcessInstanceCommand" /> <property name="process-definition-name" value="processDefinition2"/> <property name="actor" value="FrankSinatra"/> <property name="esbToBpmVars"> <!-- esb-name maps to getBody().get("eVar1") --> <mapping esb="eVar1" bpm="counter" default="45" /> <mapping esb="BODY_CONTENT" bpm="theBody" /> </property> </action>