Compare commits

...

1 Commits

Author SHA1 Message Date
SunChaoqun
3bb2c7643c TESB-26174:Error on Job with multiple tRunJob calling Call another Child
job with tESBConsumer component
2019-07-11 12:06:48 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ for (INode node : process.getNodesOfType("tRESTClient")) {
}
boolean talendEsbJobFactory = actAsProvider || !process.getNodesOfType("tRouteInput").isEmpty();
boolean talendEsbJob = talendEsbJobFactory || actAsConsumer || ProcessorUtilities.isEsbJob(process.getId(), process.getVersion());
boolean talendEsbJob = talendEsbJobFactory || actAsConsumer || ProcessorUtilities.isEsbJob(process);
boolean isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(process, "__LOG4J_ACTIVATE__"));

View File

@@ -425,7 +425,7 @@ String inputConnName = null;
%>
<%=childJob %> childJob_<%=cid %> = new <%=childJob %>();
<%
if (ProcessorUtilities.isEsbJob(process, version)) {
if (ProcessorUtilities.isEsbJob(currentProcess)) {
%>
childJob_<%=cid %>.setEndpointRegistry(registry);
<%