camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/5] camel git commit: CAMEL-9116: camel-sjms should use same binding to/from JMS as camel-jms does.
Date Mon, 07 Sep 2015 09:38:53 GMT
CAMEL-9116: camel-sjms should use same binding to/from JMS as camel-jms does.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/93bf668b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/93bf668b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/93bf668b

Branch: refs/heads/master
Commit: 93bf668b2ff8787b72fc5ca68058838fa6a9af44
Parents: d19e5d7
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Sep 7 11:18:06 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Sep 7 11:18:06 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/sjms/SjmsComponent.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/93bf668b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java
b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java
index a7347c7..2748aae 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsComponent.java
@@ -71,6 +71,12 @@ public class SjmsComponent extends UriEndpointComponent implements HeaderFilterS
         if (destinationCreationStrategy != null) {
             endpoint.setDestinationCreationStrategy(destinationCreationStrategy);
         }
+        if (headerFilterStrategy != null) {
+            endpoint.setHeaderFilterStrategy(headerFilterStrategy);
+        }
+        if (messageCreatedStrategy != null) {
+            endpoint.setMessageCreatedStrategy(messageCreatedStrategy);
+        }
         return endpoint;
     }
 


Mime
View raw message