You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/05/28 14:10:09 UTC
[3/5] camel git commit: added setter for host config option to the
component
added setter for host config option to the component
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/db3fda20
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/db3fda20
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/db3fda20
Branch: refs/heads/camel-2.15.x
Commit: db3fda202daa30dffdb6b7eb960f1ed63a64dacb
Parents: c0c5b8b
Author: David Vilaverde <dv...@gmail.com>
Authored: Wed May 27 20:26:43 2015 -0400
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu May 28 14:14:41 2015 +0200
----------------------------------------------------------------------
.../java/org/apache/camel/component/stomp/StompComponent.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/db3fda20/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java
index f8468e4..10b054c 100644
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompComponent.java
@@ -63,4 +63,11 @@ public class StompComponent extends UriEndpointComponent {
public void setPasscode(String passcode) {
getConfiguration().setPasscode(passcode);
}
+
+ /**
+ * The virtual host
+ */
+ public void setHost(String host) {
+ getConfiguration().setHost(host);
+ }
}