summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFradj Zayen2013-09-17 11:26:53 (EDT)
committerStephan Born2013-10-23 07:33:47 (EDT)
commit1da90d823f538aa04dfc9d7ae8d935c0faae1ced (patch)
tree922789ef75567174243ce5bb1cb5c0230b5e7e0f
parent5c18bc17e54fb1ef5accbdf92e995f168236bd83 (diff)
downloadorg.eclipse.stardust.engine-1da90d823f538aa04dfc9d7ae8d935c0faae1ced.zip
org.eclipse.stardust.engine-1da90d823f538aa04dfc9d7ae8d935c0faae1ced.tar.gz
org.eclipse.stardust.engine-1da90d823f538aa04dfc9d7ae8d935c0faae1ced.tar.bz2
Jira-ID: CRNT-30522
Eclipse Modeler-->Camel Triggers : Not populating the Data with camel message body git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/engine@67328 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Fradj Zayen <fradj.zayen@sungard.com>
-rw-r--r--stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/trigger/CamelTriggerRoute.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/trigger/CamelTriggerRoute.java b/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/trigger/CamelTriggerRoute.java
index 4525dcc..2b48625 100644
--- a/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/trigger/CamelTriggerRoute.java
+++ b/stardust-engine-camel/src/main/java/org/eclipse/stardust/engine/extensions/camel/trigger/CamelTriggerRoute.java
@@ -301,7 +301,8 @@ public class CamelTriggerRoute
String outBodyAccesPoint = (String) this.trigger.getAllAttributes().get(
"carnot:engine:camel::outBodyAccessPoint");
- if (outBodyAccesPoint != null && outBodyAccesPoint.equalsIgnoreCase(mapping.getParameterId()))
+ if ( (outBodyAccesPoint != null && outBodyAccesPoint.equalsIgnoreCase(mapping.getParameterId()))||
+ (mapping!=null && mapping.getParameterId()!=null && mapping.getParameterId().equalsIgnoreCase(ACCESS_POINT_MESSAGE)))
{
accessPtProps.setAccessPointLocation(ACCESS_POINT_MESSAGE);
accessPtProps.setAccessPointPath(mapping.getParameterPath());