Repository: camel Updated Branches: refs/heads/master 2c7e84c9f -> c4a7e2d70
include scheme in ironmq doc Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c4a7e2d7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c4a7e2d7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c4a7e2d7 Branch: refs/heads/master Commit: c4a7e2d7028e09ad39a179dd068e597dcd753afa Parents: 2c7e84c Author: Preben Asmussen <preben.asmus...@gmail.com> Authored: Fri Jun 10 20:02:02 2016 +0200 Committer: Preben Asmussen <preben.asmus...@gmail.com> Committed: Fri Jun 10 20:02:02 2016 +0200 ---------------------------------------------------------------------- components/camel-ironmq/src/main/docs/ironmq.adoc | 8 ++++---- .../apache/camel/component/ironmq/IronMQConfiguration.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/c4a7e2d7/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 18df266..969bb30 100644 --- a/components/camel-ironmq/src/main/docs/ironmq.adoc +++ b/components/camel-ironmq/src/main/docs/ironmq.adoc @@ -54,7 +54,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-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) +| ironMQCloud | common | https://mq-aws-us-east-1-1.iron.io | String | IronMq Cloud url. Urls for public clusters: https://mq-aws-us-east-1-1.iron.io (US) and https://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 @@ -142,8 +142,8 @@ 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-1.iron.io&projectId=myIronMQProjectid&token=myIronMQToken&maxMessagesPerPoll=50") - .to("file:somefolder); +from("ironmq:testqueue?ironMQCloud=https://mq-aws-eu-west-1-1.iron.io&projectId=myIronMQProjectid&token=myIronMQToken&maxMessagesPerPoll=50") + .to("file:somefolder"); -------------------------------------------------- Producer example @@ -152,6 +152,6 @@ Dequeue from activemq jms and enqueue the messages on IronMQ. [source,java] -------------------------------------------------- -from("activemq:foo) +from("activemq:foo") .to("ironmq:testqueue?projectId=myIronMQProjectid&token=myIronMQToken"); -------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/c4a7e2d7/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 db5e23e..2eec44f 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 @@ -121,7 +121,7 @@ public class IronMQConfiguration { } /** - * 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) + * IronMq Cloud url. Urls for public clusters: https://mq-aws-us-east-1-1.iron.io (US) and https://mq-aws-eu-west-1-1.iron.io (EU) */ public void setIronMQCloud(String ironMQCloud) { this.ironMQCloud = ironMQCloud;