camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Fix IronMQ URLs in docs and configuration
Date Mon, 07 Mar 2016 07:29:13 GMT
Repository: camel
Updated Branches:
  refs/heads/master 50037bb3c -> e6cad7c0b


Fix IronMQ URLs in docs and configuration


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

Branch: refs/heads/master
Commit: e6cad7c0b671933fd284624f48e479fe75c66860
Parents: 50037bb
Author: Alex Litvak <alex.litvak@iron.io>
Authored: Fri Mar 4 01:43:09 2016 +0600
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 7 08:29:05 2016 +0100

----------------------------------------------------------------------
 components/camel-ironmq/src/main/docs/ironmq.adoc              | 4 ++--
 .../org/apache/camel/component/ironmq/IronMQConfiguration.java | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e6cad7c0/components/camel-ironmq/src/main/docs/ironmq.adoc
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/docs/ironmq.adoc b/components/camel-ironmq/src/main/docs/ironmq.adoc
index 25893fe..4682a34 100644
--- a/components/camel-ironmq/src/main/docs/ironmq.adoc
+++ b/components/camel-ironmq/src/main/docs/ironmq.adoc
@@ -49,7 +49,7 @@ The ironmq component supports 31 endpoint options which are listed below:
 | Name | Group | Default | Java Type | Description
 | queueName | common |  | String | *Required* The name of the IronMQ queue
 | client | common |  | Client | Reference to a io.iron.ironmq.Client in the Registry.
-| ironMQCloud | common | https://mq-aws-us-east-1.iron.io | String | IronMq Cloud url. See
http://dev.iron.io/mq/reference/clouds/ for valid options
+| ironMQCloud | common | https://mq-aws-us-east-1-1.iron.io | String | IronMq Cloud url.
Urls for public clusters: mq-aws-us-east-1-1.iron.io (US), mq-aws-eu-west-1-1.iron.io (EU)
 | preserveHeaders | common | false | boolean | Should message headers be preserved when publishing
messages. This will add the Camel headers to the Iron MQ message as a json payload with a
header list and a message body. Useful when Camel is both consumer and producer.
 | projectId | common |  | String | IronMQ projectId
 | token | common |  | String | IronMQ token
@@ -136,7 +136,7 @@ Consume 50 messages pr. poll from the queue 'testqueue' on aws eu, and
save the
 
 [source,java]
 --------------------------------------------------
-from("ironmq:testqueue?ironMQCloud=mq-aws-eu-west-1.iron.io&projectId=myIronMQProjectid&token=myIronMQToken&maxMessagesPerPoll=50")
+from("ironmq:testqueue?ironMQCloud=mq-aws-eu-west-1-1.iron.io&projectId=myIronMQProjectid&token=myIronMQToken&maxMessagesPerPoll=50")
   .to("file:somefolder);
 --------------------------------------------------
 

http://git-wip-us.apache.org/repos/asf/camel/blob/e6cad7c0/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/IronMQConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/IronMQConfiguration.java
b/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/IronMQConfiguration.java
index 8dae1b6..db5e23e 100644
--- a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/IronMQConfiguration.java
+++ b/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/IronMQConfiguration.java
@@ -36,8 +36,8 @@ public class IronMQConfiguration {
     @UriPath @Metadata(required = "true")
     private String queueName;
     
-    @UriParam(defaultValue = "https://mq-aws-us-east-1.iron.io")
-    private String ironMQCloud = "https://mq-aws-us-east-1.iron.io";
+    @UriParam(defaultValue = "https://mq-aws-us-east-1-1.iron.io")
+    private String ironMQCloud = "https://mq-aws-us-east-1-1.iron.io";
     
     @UriParam
     private boolean preserveHeaders;
@@ -121,7 +121,7 @@ public class IronMQConfiguration {
     }
 
     /**
-     * IronMq Cloud url. See http://dev.iron.io/mq/reference/clouds/ for valid options
+     * IronMq Cloud url. Urls for public clusters: mq-aws-us-east-1-1.iron.io (US), mq-aws-eu-west-1-1.iron.io
(EU)
      */
     public void setIronMQCloud(String ironMQCloud) {
         this.ironMQCloud = ironMQCloud;


Mime
View raw message