Author: buildbot
Date: Sun Feb  1 08:18:27 2015
New Revision: 938547

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/hipchat.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Sun Feb  1 
08:18:27 2015
@@ -1342,11 +1342,11 @@ template.send("direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a 
shape="rect" href="http://cxf.apache.org";>Apache CXF</a> for connecting to 
JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1422775101202 {padding: 0px;}
-div.rbtoc1422775101202 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1422775101202 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1422778638489 {padding: 0px;}
+div.rbtoc1422778638489 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1422778638489 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1422775101202">
+/*]]>*/</style></p><div class="toc-macro rbtoc1422778638489">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF 
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI 
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>
@@ -4511,7 +4511,7 @@ hibernate:[entityClassName][?options]
 <h3 id="BookComponentAppendix-URIFormat.1">URI Format</h3><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[hipchat://[host][:port]?options
 ]]></script>
-</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="BookComponentAppendix-URIOptions.4">URI Options</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Required</th><th colspan="1" rowspan="1" 
class="confluenceTh">Producer/Consumer</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>authToken</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">Yes</td><td colspan="1" rowspan="1" 
class="conflu
 enceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">Authorization token(personal access token) obtained from 
<a shape="rect" class="external-link" 
href="https://www.hipchat.com/account/api"; 
rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Default protocol to connect to the Hipchat 
server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">
 No</td><td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Comma separated list of user 
@Mentions or emails whose messages to the owner of authToken must be 
consumed</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">host</td><td colspan="1" rowspan="1" 
class="confluenceTd">api.hipchat.com</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port t
 o connect to on the Hipchat host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="BookComponentAppendix-ScheduledPollConsumer">Scheduled Poll 
Consumer</h3><p>This component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 'consumeUsers' are retrieved and sent as Exchange body. If 
you do not want the same message to be retr
 ieved again when there are no new messages on next poll then you can add the 
<a shape="rect" href="idempotent-consumer.html">idempotent consumer</a> as 
shown below. All the options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="BookComponentAppendix-URIOptions.4">URI Options</h3><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Name</strong></p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><p><strong>Default 
Value</strong></p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Context</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Required</strong></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Producer/Consumer</strong></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><span>authToken</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p><
 /td><td colspan="1" rowspan="1" class="confluenceTd">Yes</td><td colspan="1" 
rowspan="1" class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">Authorization token(personal access token) obtained from 
<a shape="rect" class="external-link" 
href="https://www.hipchat.com/account/api"; 
rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Default protocol to connect to the Hipchat 
server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1
 " rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Comma separated list of user @Mentions or emails whose 
messages to the owner of authToken must be consumed</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" 
rowspan="1" class="confluenceTd">api.hipchat.com</td><td colspan="1" 
rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1"
  rowspan="1" class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port to connect to on the Hipchat 
host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="BookComponentAppendix-ScheduledPollConsumer">Scheduled Poll 
Consumer</h3><p>This component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 
 'consumeUsers' are retrieved and sent as Exchange body. If you do not want the 
same message to be retrieved again when there are no new messages on next poll 
then you can add the <a shape="rect" href="idempotent-consumer.html">idempotent 
consumer</a> as shown below. All the options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
 public void configure() throws Exception {
  String hipchatEndpointUri = 
&quot;hipchat://?authToken=XXXX&amp;consumeUsers=@Joe,@John&quot;;
@@ -4522,7 +4522,7 @@ public void configure() throws Exception
   )
   .to(&quot;mock:result&quot;);
 }]]></script>
-</div></div><h4 
id="BookComponentAppendix-MessageheaderssetbytheHipchatconsumer">Message 
headers set by the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatFromUser</span></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatMessageDate</td><td 
colspan="1" rowspa
 n="1" class="confluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The date message was sent. The 
format is ISO-8601 as present in the Hipchat <a shape="rect" 
class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></tr></tbody></table></div></div><h3 
id="BookComponentAppendix-HipchatP
 roducer">Hipchat Producer</h3><p>Producer can send messages to both Room's and 
User's simultaneously. The body of the exchange is sent as message. Sample 
usage is shown below. Appropriate headers needs to be set.</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h4 
id="BookComponentAppendix-MessageheaderssetbytheHipchatconsumer">Message 
headers set by the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Type</strong></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatFromUser</span></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1
 " class="confluenceTd">HipchatMessageDate</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The date message was sent. The 
format is ISO-8601 as present in the Hipchat <a shape="rect" 
class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></t
 r></tbody></table></div></div><h3 
id="BookComponentAppendix-HipchatProducer">Hipchat Producer</h3><p>Producer can 
send messages to both Room's and User's simultaneously. The body of the 
exchange is sent as message. Sample usage is shown below. Appropriate headers 
needs to be set.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
  public void configure() throws Exception {
   String hipchatEndpointUri = &quot;hipchat://?authToken=XXXX&quot;;
@@ -4530,7 +4530,7 @@ public void configure() throws Exception
    .to(hipchatEndpointUri)
    .to(&quot;mock:result&quot;);
  }]]></script>
-</div></div><h4 
id="BookComponentAppendix-MessageheadersevaluatedbytheHipchatproducer">Message 
headers evaluated by the Hipchat producer</h4><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Constant</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat user to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstan
 ts.TO_ROOM</span></td><td colspan="1" rowspan="1" 
class="confluenceTd"><em>String</em></td><td colspan="1" rowspan="1" 
class="confluenceTd">The Hipchat room to which the message needs to be 
sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random'. <strong>Default: 'yellow' (Room 
Only)</strong>&#160;</td></tr><tr
 ><td colspan="1" rowspan="1" 
 >class="confluenceTd">HipchatTriggerNotification</td><td colspan="1" 
 >rowspan="1" class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
 >colspan="1" rowspan="1" class="confluenceTd">Valid values are 'true' or 
 >'false'. Whether this message should trigger a user notification (change the 
 >tab color, play a sound, notify mobile phones, etc). <strong>Default: 'false' 
 >(Room Only) </strong></td></tr></tbody></table></div></div><h4 
 >id="BookComponentAppendix-MessageheaderssetbytheHipchatproducer">Message 
 >headers set by the Hipchat producer</h4><div 
 >class="confluenceTableSmall"><div class="table-wrap"><table 
 >class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
 >class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
 >class="confluenceTh"><p>Descripti
 on</p></th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluen
 ceTd"><span>The status of the API response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="BookComponentAppendix-Dependencies.2"><span style="font-size: 
16.0px;line-height: 1.5625;">Dependencies</span></h4><p>Maven users will need 
to add the following dependency to their pom.xml.</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
+</div></div><h4 
id="BookComponentAppendix-MessageheadersevaluatedbytheHipchatproducer">Message 
headers evaluated by the Hipchat producer</h4><div 
class="confluenceTableSmall"><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Header</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Constant</strong></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Type</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The Hipchat user to which the 
message needs to be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><
 td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_ROOM</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat room to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random
 '. <strong>Default: 'yellow' (Room Only)</strong>&#160;</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatTriggerNotification</td><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">Valid values are 'true' or 'false'. Whether 
this message should trigger a user notification (change the tab color, play a 
sound, notify mobile phones, etc). <strong>Default: 'false' (Room Only) 
</strong></td></tr></tbody></table></div></div><h4 
id="BookComponentAppendix-MessageheaderssetbytheHipchatproducer">Message 
headers set by the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" r
 owspan="1" class="confluenceTh"><strong>Type</strong></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatToUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" href="http://hc.apache.org/httpcom
 
ponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html">StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="BookComponentAppendix-Dependencies.2"><span style="font-size: 
16.0px;line-height: 1.5625;">Dependencies</span></h4><p>Maven users will need 
to add the following dependency to their pom.xml.</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hipchat&lt;/artifactId&gt;

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Sun Feb  1 08:18:27 
2015
@@ -4128,11 +4128,11 @@ While not actual tutorials you might fin
                     </div>
     </div>
 <h2 id="BookInOnePage-Preface">Preface</h2><p>This tutorial aims to guide the 
reader through the stages of creating a project which uses Camel to facilitate 
the routing of messages from a JMS queue to a <a shape="rect" 
class="external-link" href="http://www.springramework.org"; 
rel="nofollow">Spring</a> service. The route works in a synchronous fashion 
returning a response to the client.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1422775107033 {padding: 0px;}
-div.rbtoc1422775107033 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1422775107033 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1422778645393 {padding: 0px;}
+div.rbtoc1422778645393 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1422778645393 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1422775107033">
+/*]]>*/</style></p><div class="toc-macro rbtoc1422778645393">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-TutorialonSpringRemotingwithJMS">Tutorial on Spring 
Remoting with JMS</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Preface">Preface</a></li><li><a shape="rect" 
href="#Tutorial-JmsRemoting-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-JmsRemoting-Distribution">Distribution</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-About">About</a></li><li><a 
shape="rect" href="#Tutorial-JmsRemoting-CreatetheCamelProject">Create the 
Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-JmsRemoting-UpdatethePOMwithDependencies">Update the POM with 
Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#Tutorial-JmsRemoting-WritingtheServer">Writing 
the Server</a>
@@ -6318,11 +6318,11 @@ So we completed the last piece in the pi
 
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1422775107337 {padding: 0px;}
-div.rbtoc1422775107337 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1422775107337 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1422778645843 {padding: 0px;}
+div.rbtoc1422778645843 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1422778645843 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1422775107337">
+/*]]>*/</style><div class="toc-macro rbtoc1422778645843">
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-TutorialusingAxis1.4withApacheCamel">Tutorial using 
Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Prerequisites">Prerequisites</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Distribution">Distribution</a></li><li><a 
shape="rect" 
href="#Tutorial-AXIS-Camel-Introduction">Introduction</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-SettinguptheprojecttorunAxis">Setting 
up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-Maven2">Maven 2</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-wsdl">wsdl</a></li><li><a shape="rect" 
href="#Tutorial-AXIS-Camel-ConfiguringAxis">Configuring Axis</a></li><li><a 
shape="rect" href="#Tutorial-AXIS-Camel-RunningtheExample">Running the 
Example</a></li></ul>
@@ -18942,11 +18942,11 @@ template.send(&quot;direct:alias-verify&
                     </div>
     </div>
 <p>The <strong>cxf:</strong> component provides integration with <a 
shape="rect" href="http://cxf.apache.org";>Apache CXF</a> for connecting to 
JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1422775111171 {padding: 0px;}
-div.rbtoc1422775111171 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1422775111171 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1422778651497 {padding: 0px;}
+div.rbtoc1422778651497 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1422778651497 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1422775111171">
+/*]]>*/</style></p><div class="toc-macro rbtoc1422778651497">
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF 
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI 
format</a></li><li><a shape="rect" href="#CXF-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" 
href="#CXF-Thedescriptionsofthedataformats">The descriptions of the 
dataformats</a>
@@ -22111,7 +22111,7 @@ hibernate:[entityClassName][?options]
 <h3 id="BookInOnePage-URIFormat.1">URI Format</h3><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[hipchat://[host][:port]?options
 ]]></script>
-</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="BookInOnePage-URIOptions.4">URI Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Required</th><th colspan="1" rowspan="1" 
class="confluenceTh">Producer/Consumer</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>authToken</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">Yes</td><td colspan="1" rowspan="1" 
class="confluenceTd">
 Both</td><td colspan="1" rowspan="1" class="confluenceTd">Authorization 
token(personal access token) obtained from <a shape="rect" 
class="external-link" href="https://www.hipchat.com/account/api"; 
rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Default protocol to connect to the Hipchat 
server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><
 td colspan="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Comma separated list of user @Mentions or 
emails whose messages to the owner of authToken must be 
consumed</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">host</td><td colspan="1" rowspan="1" 
class="confluenceTd">api.hipchat.com</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port to connec
 t to on the Hipchat host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="BookInOnePage-ScheduledPollConsumer">Scheduled Poll Consumer</h3><p>This 
component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 'consumeUsers' are retrieved and sent as Exchange body. If 
you do not want the same message to be retrieved again when
  there are no new messages on next poll then you can add the <a shape="rect" 
href="idempotent-consumer.html">idempotent consumer</a> as shown below. All the 
options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="BookInOnePage-URIOptions.4">URI Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Name</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Default Value</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Context</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Required</strong></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Producer/Consumer</strong></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><span>authToken</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td 
 colspan="1" rowspan="1" class="confluenceTd">Yes</td><td colspan="1" 
rowspan="1" class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">Authorization token(personal access token) obtained from 
<a shape="rect" class="external-link" 
href="https://www.hipchat.com/account/api"; 
rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Default protocol to connect to the Hipchat 
server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspa
 n="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Comma separated list of user @Mentions or emails whose 
messages to the owner of authToken must be consumed</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" 
rowspan="1" class="confluenceTd">api.hipchat.com</td><td colspan="1" 
rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan
 ="1" class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port to connect to on the Hipchat 
host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="BookInOnePage-ScheduledPollConsumer">Scheduled Poll Consumer</h3><p>This 
component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 'consumeUsers' a
 re retrieved and sent as Exchange body. If you do not want the same message to 
be retrieved again when there are no new messages on next poll then you can add 
the <a shape="rect" href="idempotent-consumer.html">idempotent consumer</a> as 
shown below. All the options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
 public void configure() throws Exception {
  String hipchatEndpointUri = 
&quot;hipchat://?authToken=XXXX&amp;consumeUsers=@Joe,@John&quot;;
@@ -22122,7 +22122,7 @@ public void configure() throws Exception
   )
   .to(&quot;mock:result&quot;);
 }]]></script>
-</div></div><h4 
id="BookInOnePage-MessageheaderssetbytheHipchatconsumer">Message headers set by 
the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatFromUser</span></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatMessageDate</td><td 
colspan="1" rowspan="1" cl
 ass="confluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The date message was sent. The 
format is ISO-8601 as present in the Hipchat <a shape="rect" 
class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></tr></tbody></table></div></div><h3 
id="BookInOnePage-HipchatProducer">Hipchat
  Producer</h3><p>Producer can send messages to both Room's and User's 
simultaneously. The body of the exchange is sent as message. Sample usage is 
shown below. Appropriate headers needs to be set.</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h4 
id="BookInOnePage-MessageheaderssetbytheHipchatconsumer">Message headers set by 
the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Type</strong></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatFromUser</span></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1" class=
 "confluenceTd">HipchatMessageDate</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The date message was sent. The 
format is ISO-8601 as present in the Hipchat <a shape="rect" 
class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></tr></tbod
 y></table></div></div><h3 id="BookInOnePage-HipchatProducer">Hipchat 
Producer</h3><p>Producer can send messages to both Room's and User's 
simultaneously. The body of the exchange is sent as message. Sample usage is 
shown below. Appropriate headers needs to be set.</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
  public void configure() throws Exception {
   String hipchatEndpointUri = &quot;hipchat://?authToken=XXXX&quot;;
@@ -22130,7 +22130,7 @@ public void configure() throws Exception
    .to(hipchatEndpointUri)
    .to(&quot;mock:result&quot;);
  }]]></script>
-</div></div><h4 
id="BookInOnePage-MessageheadersevaluatedbytheHipchatproducer">Message headers 
evaluated by the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Constant</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat user to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_RO
 OM</span></td><td colspan="1" rowspan="1" 
class="confluenceTd"><em>String</em></td><td colspan="1" rowspan="1" 
class="confluenceTd">The Hipchat room to which the message needs to be 
sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random'. <strong>Default: 'yellow' (Room 
Only)</strong>&#160;</td></tr><tr><td col
 span="1" rowspan="1" class="confluenceTd">HipchatTriggerNotification</td><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">Valid values are 'true' or 'false'. Whether 
this message should trigger a user notification (change the tab color, play a 
sound, notify mobile phones, etc). <strong>Default: 'false' (Room Only) 
</strong></td></tr></tbody></table></div></div><h4 
id="BookInOnePage-MessageheaderssetbytheHipchatproducer">Message headers set by 
the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr>
 <tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The 
 status of the API response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="BookInOnePage-Dependencies.36"><span style="font-size: 16.0px;line-height: 
1.5625;">Dependencies</span></h4><p>Maven users will need to add the following 
dependency to their pom.xml.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
+</div></div><h4 
id="BookInOnePage-MessageheadersevaluatedbytheHipchatproducer">Message headers 
evaluated by the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><strong>Constant</strong></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Type</strong></p></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The Hipchat user to which the 
message needs to be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><td colsp
 an="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_ROOM</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat room to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random'. <stro
 ng>Default: 'yellow' (Room Only)</strong>&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatTriggerNotification</td><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid values are 'true' or 
'false'. Whether this message should trigger a user notification (change the 
tab color, play a sound, notify mobile phones, etc). <strong>Default: 'false' 
(Room Only) </strong></td></tr></tbody></table></div></div><h4 
id="BookInOnePage-MessageheaderssetbytheHipchatproducer">Message headers set by 
the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" 
rowspan="1" class
 ="confluenceTh"><strong>Type</strong></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatToUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" href="http://hc.apache.org/httpcomponents-core-4.2
 
.x/httpcore/apidocs/org/apache/http/StatusLine.html">StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="BookInOnePage-Dependencies.36"><span style="font-size: 16.0px;line-height: 
1.5625;">Dependencies</span></h4><p>Maven users will need to add the following 
dependency to their pom.xml.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hipchat&lt;/artifactId&gt;

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/hipchat.html
==============================================================================
--- websites/production/camel/content/hipchat.html (original)
+++ websites/production/camel/content/hipchat.html Sun Feb  1 08:18:27 2015
@@ -95,7 +95,7 @@
 <h3 id="Hipchat-URIFormat">URI Format</h3><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[hipchat://[host][:port]?options
 ]]></script>
-</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="Hipchat-URIOptions">URI Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Context</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Required</th><th colspan="1" rowspan="1" 
class="confluenceTh">Producer/Consumer</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>authToken</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">Yes</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td
 ><td colspan="1" rowspan="1" class="confluenceTd">Authorization token(personal 
 >access token) obtained from <a shape="rect" class="external-link" 
 >href="https://www.hipchat.com/account/api"; 
 >rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td 
 >colspan="1" rowspan="1" class="confluenceTd">No</td><td colspan="1" 
 >rowspan="1" class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p>Default protocol to connect to the Hipchat 
 >server</p></td></tr><tr><td colspan="1" rowspan="1" 
 >class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
 >rowspan="1" class="confluenceTd">No</td><td colsp
 an="1" rowspan="1" class="confluenceTd">Consumer</td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Comma separated list of user @Mentions or 
emails whose messages to the owner of authToken must be 
consumed</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">host</td><td colspan="1" rowspan="1" 
class="confluenceTd">api.hipchat.com</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port to connect to on 
 the Hipchat host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="Hipchat-ScheduledPollConsumer">Scheduled Poll Consumer</h3><p>This 
component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 'consumeUsers' are retrieved and sent as Exchange body. If 
you do not want the same message to be retrieved again when there are no 
 new messages on next poll then you can add the <a shape="rect" 
href="idempotent-consumer.html">idempotent consumer</a> as shown below. All the 
options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>You can append query options to the URI in the following 
format, ?options=value&amp;option2=value&amp;...</p><h3 
id="Hipchat-URIOptions">URI Options</h3><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Name</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Default Value</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Context</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Required</strong></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Producer/Consumer</strong></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><p><span>authToken</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan=
 "1" rowspan="1" class="confluenceTd">Yes</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">Authorization token(personal access token) obtained from 
<a shape="rect" class="external-link" 
href="https://www.hipchat.com/account/api"; 
rel="nofollow">Hipchat</a><p>&#160;</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><span>protocol</span></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>http</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Shared</p></td><td colspan="1" 
rowspan="1" class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Default protocol to connect to the Hipchat 
server</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><span>consumeUsers</span></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1" 
rowspan="1" cl
 ass="confluenceTd"><p>Shared</p></td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Comma separated list of user @Mentions or emails whose 
messages to the owner of authToken must be consumed</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" 
rowspan="1" class="confluenceTd">api.hipchat.com</td><td colspan="1" 
rowspan="1" class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The API host of the Hipchat to connect to</td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">port</td><td colspan="1" 
rowspan="1" class="confluenceTd">80</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" cla
 ss="confluenceTd">Both</td><td colspan="1" rowspan="1" 
class="confluenceTd">The port to connect to on the Hipchat 
host</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">delay</td><td colspan="1" rowspan="1" 
class="confluenceTd">5000</td><td colspan="1" rowspan="1" 
class="confluenceTd">Shared</td><td colspan="1" rowspan="1" 
class="confluenceTd">No</td><td colspan="1" rowspan="1" 
class="confluenceTd">Consumer</td><td colspan="1" rowspan="1" 
class="confluenceTd">The poll interval in millisec for consuming messages from 
consumeUsers provided. Please read about <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/rate_limiting"; rel="nofollow">rate 
limits</a> before increasing this.</td></tr></tbody></table></div><h3 
id="Hipchat-ScheduledPollConsumer">Scheduled Poll Consumer</h3><p>This 
component implements the <a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>. Only the last message 
from the provided 'consumeUsers' are retrieved a
 nd sent as Exchange body. If you do not want the same message to be retrieved 
again when there are no new messages on next poll then you can add the <a 
shape="rect" href="idempotent-consumer.html">idempotent consumer</a> as shown 
below. All the options on the&#160;<a shape="rect" 
href="polling-consumer.html">ScheduledPollConsumer</a>&#160;can also be used 
for more control on the consumer.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
 public void configure() throws Exception {
  String hipchatEndpointUri = 
&quot;hipchat://?authToken=XXXX&amp;consumeUsers=@Joe,@John&quot;;
@@ -106,7 +106,7 @@ public void configure() throws Exception
   )
   .to(&quot;mock:result&quot;);
 }]]></script>
-</div></div><h4 id="Hipchat-MessageheaderssetbytheHipchatconsumer">Message 
headers set by the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatFromUser</span></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatMessageDate</td><td 
colspan="1" rowspan="1" class="c
 onfluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The date message was sent. The format is 
ISO-8601 as present in the Hipchat <a shape="rect" class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></tr></tbody></table></div></div><h3 
id="Hipchat-HipchatProducer">Hipchat Producer</h
 3><p>Producer can send messages to both Room's and User's simultaneously. The 
body of the exchange is sent as message. Sample usage is shown below. 
Appropriate headers needs to be set.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><h4 id="Hipchat-MessageheaderssetbytheHipchatconsumer">Message 
headers set by the Hipchat consumer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><strong>Type</strong></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatFromUser</span></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><span>HipchatConstants.FROM_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The body has the message 
that was sent from this user to the owner of authToken</span></td></tr><tr><td 
colspan="1" rowspan="1" class="confl
 uenceTd">HipchatMessageDate</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.</span>MESSAGE_DATE</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The date message was sent. The 
format is ISO-8601 as present in the Hipchat <a shape="rect" 
class="external-link" 
href="https://www.hipchat.com/docs/apiv2/method/view_recent_privatechat_history";
 rel="nofollow">response</a>.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.FROM_USER_RESPONSE_STATUS&#160;</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd">The status of the API response 
received.</td></tr></tbody></ta
 ble></div></div><h3 id="Hipchat-HipchatProducer">Hipchat 
Producer</h3><p>Producer can send messages to both Room's and User's 
simultaneously. The body of the exchange is sent as message. Sample usage is 
shown below. Appropriate headers needs to be set.</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[@Override
  public void configure() throws Exception {
   String hipchatEndpointUri = &quot;hipchat://?authToken=XXXX&quot;;
@@ -114,7 +114,7 @@ public void configure() throws Exception
    .to(hipchatEndpointUri)
    .to(&quot;mock:result&quot;);
  }]]></script>
-</div></div><h4 
id="Hipchat-MessageheadersevaluatedbytheHipchatproducer">Message headers 
evaluated by the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Constant</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Type</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat user to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><td colspan="1" rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_ROOM</sp
 an></td><td colspan="1" rowspan="1" 
class="confluenceTd"><em>String</em></td><td colspan="1" rowspan="1" 
class="confluenceTd">The Hipchat room to which the message needs to be 
sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random'. <strong>Default: 'yellow' (Room 
Only)</strong>&#160;</td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd">HipchatTriggerNotification</td><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">Valid values are 'true' or 'false'. Whether 
this message should trigger a user notification (change the tab color, play a 
sound, notify mobile phones, etc). <strong>Default: 'false' (Room Only) 
</strong></td></tr></tbody></table></div></div><h4 
id="Hipchat-MessageheaderssetbytheHipchatproducer">Message headers set by the 
Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Header</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Constant</p></th><th colspan="1" rowspan="1" 
class="confluenceTh">Type</th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td cols
 pan="1" rowspan="1" class="confluenceTd">HipchatToUserResponseStatus</td><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of th
 e API response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="Hipchat-Dependencies"><span style="font-size: 16.0px;line-height: 
1.5625;">Dependencies</span></h4><p>Maven users will need to add the following 
dependency to their pom.xml.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
+</div></div><h4 
id="Hipchat-MessageheadersevaluatedbytheHipchatproducer">Message headers 
evaluated by the Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" class="confluenceTh"><strong>Constant</strong></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Type</strong></p></th><th colspan="1" 
rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd">HipchatToUser</td><td colspan="1" 
rowspan="1" class="confluenceTd"><span>HipchatConstants.TO_USER</span></td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">The Hipchat user to which the 
message needs to be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatToRoom</td><td colspan="1"
  rowspan="1" 
class="confluenceTd"><span>HipchatConstants.TO_ROOM</span></td><td colspan="1" 
rowspan="1" class="confluenceTd"><em>String</em></td><td colspan="1" 
rowspan="1" class="confluenceTd">The Hipchat room to which the message needs to 
be sent.</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageFormat</td><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_FORMAT</td><td colspan="1" 
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" 
class="confluenceTd">Valid formats are 'text' or 'html'. <strong>Default: 
'text'</strong></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd">HipchatMessageBackgroundColor</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.MESSAGE_BACKGROUND_COLOR</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid color values are 'yellow', 
'green', 'red', 'purple', 'gray', 'random'. <strong>Def
 ault: 'yellow' (Room Only)</strong>&#160;</td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatTriggerNotification</td><td colspan="1" 
rowspan="1" class="confluenceTd">HipchatConstants.TRIGGER_NOTIFY</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em>String</em></td><td 
colspan="1" rowspan="1" class="confluenceTd">Valid values are 'true' or 
'false'. Whether this message should trigger a user notification (change the 
tab color, play a sound, notify mobile phones, etc). <strong>Default: 'false' 
(Room Only) </strong></td></tr></tbody></table></div></div><h4 
id="Hipchat-MessageheaderssetbytheHipchatproducer">Message headers set by the 
Hipchat producer</h4><div class="confluenceTableSmall"><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p><strong>Header</strong></p></th><th 
colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Constant</strong></p></th><th colspan="1" 
rowspan="1" class="confluence
 Th"><strong>Type</strong></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p><strong>Description</strong></p></th></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatToUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_USER_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/StatusLine.html";>StatusLine</a></em></td><td
 colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the user.</span></td></tr><tr><td 
colspan="1" rowspan="1" 
class="confluenceTd">HipchatFromUserResponseStatus</td><td colspan="1" 
rowspan="1" 
class="confluenceTd">HipchatConstants.TO_ROOM_RESPONSE_STATUS</td><td 
colspan="1" rowspan="1" class="confluenceTd"><em><a shape="rect" 
class="external-link" 
href="http://hc.apache.org/httpcomponents-core-4.2.x/httpcore/
 apidocs/org/apache/http/StatusLine.html">StatusLine</a></em></td><td 
colspan="1" rowspan="1" class="confluenceTd"><span>The status of the API 
response received when message sent to the 
room.</span></td></tr></tbody></table></div></div><h4 
id="Hipchat-Dependencies"><span style="font-size: 16.0px;line-height: 
1.5625;">Dependencies</span></h4><p>Maven users will need to add the following 
dependency to their pom.xml.</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>pom.xml</b></div><div class="codeContent 
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-hipchat&lt;/artifactId&gt;


Reply via email to