protected EPR createReplyTo(String esbToJBpmXml, Boolean globalProcessScope, ExecutionContext executionContext)
{
EPR replyTo = new LogicalEPR(ServiceInvoker.INTERNAL_SERVICE_CATEGORY, JBpmCallback.JBPM_CALL_BACK_SERVICE_NAME);
PortReference portReference = replyTo.getAddr();
if (globalProcessScope!=null) {
portReference.addExtension(Constants.PROCESS_SCOPE_ATTR, globalProcessScope.toString());
}
final Token token = executionContext.getToken() ;
final long tokenId = token.getId();
portReference.addExtension(Constants.TOKEN_ID, String.valueOf(tokenId));
String nodeId = "";