Skip to content

Commit

Permalink
Merge pull request #2145 from malakaganga/fix_call
Browse files Browse the repository at this point in the history
  • Loading branch information
malakaganga authored Feb 16, 2024
2 parents 564af81 + f4333c8 commit 870c3be
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ public Mediator createSpecificMediator(OMElement elem, Properties properties) {

OMElement targetEle = elem.getFirstChildWithName(TARGET_Q);
if (targetEle != null) {
if (sourceEle == null) {
Source source = CallMediatorEnrichUtil.createSourceWithBody();
callMediator.setSourceAvailable(true);
callMediator.setSourceForOutboundPayload(source);
}
Target target = new Target();
populateTarget(callMediator, target, targetEle);
callMediator.setTargetForInboundPayload(target);
Expand Down

0 comments on commit 870c3be

Please sign in to comment.