org.jboss.soa.esb.actions.jbpm
Class BaseActionHandler
java.lang.Object
org.jboss.soa.esb.actions.jbpm.BaseActionHandler
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.def.ActionHandler
public class BaseActionHandler
- extends java.lang.Object
- implements org.jbpm.graph.def.ActionHandler
Use to send messages to ESB services from jBPM applications.
Assumptions:
Message payload is in the context instance in a context variable.
Context variables "esbCategoryName" and "esbServiceName" will be supplied at runtime.
The name of the context variable that contains the user object to include in the
message payload is rendered by the getContentVariableName() method
so it can be changed just by extending this class and overriding that method.
This action handler will by default (whenever possible) include the process name
, version, processInstance id and token ID
- Author:
- schifest@heuristica.com.ar
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
esbCategoryName
public java.lang.String esbCategoryName
esbServiceName
public java.lang.String esbServiceName
BaseActionHandler
public BaseActionHandler()
getContentVariableName
public java.lang.String getContentVariableName()
execute
public void execute(org.jbpm.graph.exe.ExecutionContext context)
throws java.lang.Exception
- Specified by:
execute in interface org.jbpm.graph.def.ActionHandler
- Throws:
java.lang.Exception