Author: buildbot Date: Sun Feb 28 10:18:56 2016 New Revision: 981315 Log: Production update by buildbot for camel
Added: websites/production/camel/content/ironmq.html Modified: websites/production/camel/content/cache/main.pageCache Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Added: websites/production/camel/content/ironmq.html ============================================================================== --- websites/production/camel/content/ironmq.html (added) +++ websites/production/camel/content/ironmq.html Sun Feb 28 10:18:56 2016 @@ -0,0 +1,174 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<html> +<head> + <link href="//camel.apache.org/styles/site.css" rel="stylesheet" type="text/css"> + <link href="//camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"> + <script src="//camel.apache.org/styles/prototype.js" type="text/javascript"></script> + <script src="//camel.apache.org/styles/rico.js" type="text/javascript"></script> + <script src="//camel.apache.org/styles/site.js" type="text/javascript"></script> + + <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> + + <style type="text/css"> + .maincontent { overflow:hidden; } + </style> + <!--[if IE]> + <style type="text/css"> + .maincontent { width:100%; } + </style> + <![endif]--> + + + <link href='//camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' /> + <link href='//camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' /> + <script src='//camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> + <script src='//camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> + <script src='//camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script> + + <script type="text/javascript"> + SyntaxHighlighter.defaults['toolbar'] = false; + SyntaxHighlighter.all(); + </script> + + <title> + Apache Camel: IronMQ + </title> +</head> +<body> +<div class="white_box"> +<div class="header"> + <div class="header_l"> + <div class="header_r"> + </div> + </div> +</div> +<div class="content"> + <div class="content_l"> + <div class="content_r"> + <div> + <!-- Banner --> +<div id="banner-content"><div id="asf_logo"> + <div id="activemq_logo" style="height:108px; background:transparent url(banner.data/apache-camel-7.png) no-repeat scroll left top;"> + <a shape="rect" style="float:left; width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px; margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a> + <a shape="rect" style="float:right; width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px; margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a> + </div> +</div></div> + <!-- Banner --> + <div class="top_red_bar"> + <div id="site-breadcrumbs"> + <!-- Breadcrumbs --> +<a href="index.html">Apache Camel</a> > <a href="documentation.html">Documentation</a> > <a href="components.html">Components</a> > <a href="ironmq.html">IronMQ</a> + </div> + <!-- Quicklinks --> +<div id="site-quicklinks"><p><a shape="rect" href="download.html">Download</a> | <a shape="rect" href="javadoc.html">JavaDoc</a> | <a shape="rect" href="source.html">Source</a> | <a shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect" href="support.html">Support</a></p></div> + <!-- Quicklinks --> + </div> + + <table border="0"> + <tbody> + <tr> + <td valign="top" width="100%"> +<div class="wiki-content maincontent"><div class="confluence-information-macro confluence-information-macro-tip"><p class="title">Available since Camel 2.17.0</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"> </div></div><p> </p><p>The IronMQ component provides integration with <a shape="rect" class="external-link" href="http://www.iron.io/products/mq" rel="nofollow">IronMQ</a> an elastic and durable hosted message queue as a service.</p><p>The component uses the <a shape="rect" class="external-link" href="https://github.com/iron-io/iron_mq_java" rel="nofollow">IronMQ java client</a> library.</p><p>To run it requires a IronMQ account, and a project id and token.</p><p> </p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-ironmq</artifactId> + <!-- use the same version as your Camel core version --> + <version>x.y.z</version> +</dependency> +]]></script> +</div></div><h3 id="IronMQ-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[ironmq:queueName[?options] +]]></script> +</div></div><p>Where <strong>queueName</strong> identifies the IronMQ queue you want to publish or consume messages from.</p><h3 id="IronMQ-Options">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Name</th><th colspan="1" rowspan="1" class="confluenceTh">Group</th><th colspan="1" rowspan="1" class="confluenceTh">Default</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>client</strong></td><td colspan="1" rowspan="1" class="confluenceTd">common</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">io.iron.ironmq.Client</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Reference to a io.iron.ironmq.Client in the Registry.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>iron MQCloud</strong></td><td colspan="1" rowspan="1" class="confluenceTd">common</td><td colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" class="external-link" href="https://mq-aws-us-east-1.iron.io" style="text-decoration: underline;" rel="nofollow">https://mq-aws-us-east-1.iron.io</a></td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>IronMq Cloud url. See </span><a shape="rect" class="external-link" href="http://dev.iron.io/mq/reference/clouds/" style="text-decoration: underline;" rel="nofollow">http://dev.iron.io/mq/reference/clouds/</a><span> for valid options</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>preserveHeaders</strong></td><td colspan="1" rowspan="1" class="confluenceTd">common</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><p><span> Should message headers be preserved when publishing messages.</span></p><p>This will add the Camel headers to the Iron MQ message as a json payload with a header list, and a message body.</p><p>Useful when Camel is both consumer and producer.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>projectId</strong></td><td colspan="1" rowspan="1" class="confluenceTd">common</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The IronMQ project Id</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>token</strong></td><td colspan="1" rowspan="1" class="confluenceTd">common</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">The I<span>ronMQ token</span></td></tr><tr><td colspan="1" rowspan="1" class="c onfluenceTd"><strong>batchDelete</strong></td><td colspan="1" rowspan="1" class="confluenceTd">consumer</td><td colspan="1" rowspan="1" class="confluenceTd">false</td><td colspan="1" rowspan="1" class="confluenceTd">boolean</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Should messages be deleted in one batch. This will limit the number of api requests since messages are deleted in one request, instead of one pr. exchange. If enabled care should be taken that the consumer is idempotent when processing exchanges.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>concurrentConsumers</strong></td><td colspan="1" rowspan="1" class="confluenceTd">consumer</td><td colspan="1" rowspan="1" class="confluenceTd">1</td><td colspan="1" rowspan="1" class="confluenceTd">Integer</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The number of concurrent consumers.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>maxMessages PerPoll</strong></td><td colspan="1" rowspan="1" class="confluenceTd">consumer</td><td colspan="1" rowspan="1" class="confluenceTd">1</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Number of messages to poll pr. call. <span style="color: rgb(54,54,54);">Maximum is 100.</span></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>timeout</strong></td><td colspan="1" rowspan="1" class="confluenceTd">consumer</td><td colspan="1" rowspan="1" class="confluenceTd">60</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>After timeout (in seconds), item will be placed back onto the queue.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>wait</strong></td><td colspan="1" rowspan="1" class="confluenceTd">consumer</td><td colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1" class="conflue nceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>Time in seconds to wait for a message to become available. This enables long polling. Default is 0 (does not wait), maximum is 30.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><strong>visibilityDelay</strong></td><td colspan="1" rowspan="1" class="confluenceTd">producer</td><td colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1" class="confluenceTd">int</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The item will not be available on the queue until this many seconds have passed. Default is 0 seconds.</span></td></tr></tbody></table></div><h3 id="IronMQ-Producerheaders">Producer headers</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Header</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td colsp an="1" rowspan="1" class="confluenceTd"><span>CamelIronMQOperation</span></td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>If value set to </span><em>CamelIronMQClearQueue </em><span>the queue is cleared of unconsumed messages.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>CamelIronMQMessageId</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>String or io.iron.ironmq.Ids</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>The id of the IronMQ message as a String when sending a single message, or a Ids object when sending a array of strings. See message body</span></td></tr></tbody></table></div><h3 id="IronMQ-Consumerheaders">Consumer headers</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">Header</th><th colspan="1" rowspan="1" class="confluenceTh">Type</th><th colspan="1" rowspan="1" c lass="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>CamelIronMQMessageId</span></td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The id of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>CamelIronMQReservationId</span></td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The reservation id of the message.</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>CamelIronMQReservedCount</span></td><td colspan="1" rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd"><span>The number of times this message has been reserved.</span></td></tr></tbody></table></div><h3 id="IronMQ-Messagebodywhenproducing">Message body when producing</h3><p>Should be either a String or a array of Strings.</p><p>In the latter case the batch of strings will be send to IronMQ as one request, creating one message pr. element in the array.</p><h3 id="IronMQ-Consumerexample">Consumer example</h3><p>Consume 50 messages pr. poll from the queue 'testqueue' on aws eu, and save the messages to files.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("ironmq:testqueue?ironMQCloud=mq-aws-eu-west-1.iron.io&projectId=myIronMQProjectid&token=myIronMQToken&maxMessagesPerPoll=50") + .to("file:somefolder");]]></script> +</div></div><h3 id="IronMQ-Producerexample">Producer example</h3><p>Dequeue from activemq jms and enqueue the messages on IronMQ.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[from("activemq:foo") + .to("ironmq:testqueue?projectId=myIronMQProjectid&token=myIronMQToken");]]></script> +</div></div></div> + </td> + <td valign="top"> + <div class="navigation"> + <div class="navigation_top"> + <!-- NavigationBar --> +<div class="navigation_bottom" id="navigation_bottom"><h3 id="Navigation-Overview"><a shape="rect" href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a shape="rect" href="download.html">Download</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li><li><a shape="rect" href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a shape="rect" href="documentation.html">Documentation</a></h3><ul class="alternate"><li><a shape="rect" href="user-guide.html">User Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a shape="rect" href="books.html">Books</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="cookbook.html">Cookbook</a></li><li><a shape="rect" href="architecture.html">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a shape="rect" href="components.html">Components</a></li><li><a shape="rect" href="data-format.html">Data Format</a></li><li><a shape="rect" href="languages.html">Languages</a></li><li><a shape="rect" href="security.html">Security</a></li><li><a shape="rect" href="security-advisories.html">Security Advisories</a></li></ul><h3 id="Navigation-Search">Search</h3><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse"> + <div> + <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq"> + <input type="hidden" name="ie" value="UTF-8"> + <input type="text" name="q" size="21"> + <input type="submit" name="sa" value="Search"> + </div> +</form> +<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script><h3 id="Navigation-Community"><a shape="rect" href="community.html">Community</a></h3><ul class="alternate"><li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" href="contributing.html">Contributing</a></li><li><a shape="rect" href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html">User Stories</a></li><li><a shape="rect" href="news.html">News</a></li><li><a shape="rect" href="articles.html">Articles</a></li><li><a shape="rect" href="site.html">Site</a></li><li><a shape="rect" href="team.html">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect" href="developers.html">Developers</a></h3><ul class="alternate" ><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a >shape="rect" href="source.html">Source</a></li><li><a shape="rect" >href="building.html">Building</a></li><li><a shape="rect" >href="javadoc.html">JavaDoc</a></li><li><a shape="rect" >href="irc-room.html">IRC Room</a></li></ul><h3 >id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul >class="alternate"><li><a shape="rect" class="external-link" >href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" >class="external-link" >href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a > shape="rect" class="external-link" >href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a >shape="rect" class="external-link" >href="http://www.apache.org/security/">Security</a></li></ul></div> + <!-- NavigationBar --> + </div> + </div> + </td> + </tr> + </tbody> + </table> + + + <div class="bottom_red_bar"></div> + </div> + </div> + </div> +</div> +<div class="black_box"> +<div class="footer"> + <div class="footer_l"> + <div class="footer_r"> + <div> + <a href="$base/privacy-policy.html">Privacy Policy</a> - + (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=61341584">edit page</a>) + (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61341584&showComments=true&showCommentArea=true#addcomment">add comment</a>) + </div> + </div> + </div> +</div> +</div> +</div> +<div class="design_attribution"> +© 2004-2015 The Apache Software Foundation. +<br> +Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +<br> +<a href="http://hiramchirino.com">Graphic Design By Hiram</a> +</div> + +<!-- Camel committers that would like access to the Analytics, send a note to priv...@camel.apache.org --> +<script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-25976253-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + +</script> + +</body> +</html> + +