[
https://jira.jboss.org/jira/browse/JBESB-2317?page=com.atlassian.jira.plu...
]
Daniel Bevenius commented on JBESB-2317:
----------------------------------------
The EPR contains information such as variable mappings, information
that can be retrieved from the action rather than passed via the EPRs.
This
information is also currently used by the CALLBACK_EXECUTOR:
String esbToBpmXml = toEpr.getAddr().getExtensionValue(Constants.ESB_TO_BPM_VARS_TAG);
The JBpmCallback does not have a action config containing the mapping as this is a general
action jbpm.esb/META-INF/jboss-esb.xml:
<action action="action"
class="org.jboss.soa.esb.services.jbpm.actions.JBpmCallback"/>
This info is used to map variables from the Message to jbpm variables. With out this
variable will not be set.
We could store the mapping information in the body using the same key as we are using
today.
Anyone have a better idea?
Reduce verbosity of jBPM callback EPRs
--------------------------------------
Key: JBESB-2317
URL:
https://jira.jboss.org/jira/browse/JBESB-2317
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Process flow
Affects Versions: 4.4
Reporter: Kevin Conner
Assignee: Daniel Bevenius
Fix For: 4.5
The EPR contains information such as variable mappings, information that can be retrieved
from the action rather than passed via the EPRs.
The configuration information is available through the action delegate, albeit as a
string needing to be parsed.
For example, one of the actions in the bpm_orchestration1 has the following
configuration
<esbCategoryName>BPM_Orchestration_Service1</esbCategoryName>
<esbServiceName>Service1</esbServiceName>
<bpmToEsbVars><mapping bpm="theBody"
esb="BODY_CONTENT"/></bpmToEsbVars>
<esbToBpmVars><mapping esb="BODY_CONTENT"
bpm="theBody"/></esbToBpmVars>
There are likely to be other parameters that can be removed from the generated EPR.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira