You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2019/03/31 15:23:09 UTC

svn commit: r1042911 [43/48] - in /websites/production/camel/content: ./ 2007/08/17/ 2008/04/08/ 2008/04/28/ 2009/01/19/ 2009/10/26/ 2012/01/17/ 2012/03/01/ 2019/03/ 2019/03/31/

Modified: websites/production/camel/content/tutorial-osgi-camel-part2.html
==============================================================================
--- websites/production/camel/content/tutorial-osgi-camel-part2.html (original)
+++ websites/production/camel/content/tutorial-osgi-camel-part2.html Sun Mar 31 15:23:07 2019
@@ -135,7 +135,7 @@ A small <a shape="rect" class="external-
 <h2 id="tutorial-osgi-camel-part2-Step1:InitialProjectSetup">Step 1 : Initial Project Setup</h2>
 
 <p>Different way exist to create maven project. For the basic project like db, we have used the archetype 'simple' with the command followed by <code>mvn eclipse:eclipse</code> in the folder created :</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default"> 
 mvn archetype:generate -DinteractiveMode=false -DgroupId=org.apache.camel.example -DartifactId=reportincident.model -Dversion=1.0-SNAPSHOT -Dgoals=eclipse:eclipse
 </pre>
@@ -152,14 +152,14 @@ mvn archetype:generate -DinteractiveMode
 <p>To create the tutorial projects, you can follow the procedure described here </p>
 
 <p>1) Execute maven command in your Unix/Dos console :</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn org.ops4j:maven-pax-plugin:create-bundle -Dpackage=org.apache.camel.example.reportincident.model
 -DbundleGroupId=reportincident.model -DbundleName=reportincident.model -Dversion=1.0-SNAPSHOT
 </pre>
 </div></div>
 <p>2) Move to the folder created and execute the following command :</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn org.ops4j:maven-pax-plugin:eclipse
 </pre>
@@ -184,7 +184,7 @@ The reportincident model is really simpl
 
 <p>Here is the definition of the incident class that you can create in the reportincident.model project directory <code>src/main/java/org/apache/camel/example/reportincident/model</code> or use the code imported</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 import java.io.Serializable;
 
@@ -317,7 +317,7 @@ public class Incident implements Seriali
 
 <p>This annotation will help camel-bindy to discover what is the parent class of the model and which separator is used to separate the fields. If required, you can also use the property 'skipFirstLine' to skip the first line of your CSV file</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
 
@@ -332,7 +332,7 @@ public class Incident implements Seriali
 
 <p>For each of the CSV field that you want to bind with your model, you must add the @DataField annotation with its position. This is not the only property available and you can also add 'pattern' property to by example define the pattern of your Date field.</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
 import org.apache.camel.dataformat.bindy.annotation.DataField;
@@ -371,7 +371,7 @@ public class Incident implements Seriali
 
 <p>To build the project, simply execute the following maven command in the reportincident.model project</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn clean install
 </pre>
@@ -383,7 +383,7 @@ mvn clean install
 
 <p>Remark : The ORM uses to persist the information is Hibernate but it can be changed to another existing like iBatis, Apache OpenJPA, ...</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;hibernate-mapping schema="REPORT"&gt;
 	&lt;class name="org.apache.camel.example.reportincident.model.Incident" table="T_INCIDENT"&gt;
@@ -418,7 +418,7 @@ mvn clean install
 
 <p>Here is the content of the hibernate.cfg.xml that you must create in the folder <code>src/config</code> of hibernate.db</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;!-- MySQL DB --&gt;
 
@@ -441,7 +441,7 @@ mvn clean install
 
 <p>The pom.xml file of your reportincident.db project must be modified like this :</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -514,7 +514,7 @@ mvn clean install
 
 <p>To create the table + SQL script, simply launch </p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn clean install
 </pre>
@@ -529,7 +529,7 @@ mvn clean install
 
 <p>First, we will create the interface declaring the methods that we would like to provide/expose. Create in the folder <code>src/main/java/org/apache/camel/example/reportincident/dao</code>, the java class "IncidentDAO" with the following code :</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 package org.apache.camel.example.reportincident.dao;
 
@@ -585,7 +585,7 @@ public interface IncidentDAO
 
 <p>So, create the class <code>IncidentDAOImpl</code> in the directory <code>src/main/java/org/apache/camel/example/reportincident/dao/impl</code></p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 package org.apache.camel.example.reportincident.dao.impl;
 
@@ -701,7 +701,7 @@ public class IncidentDAOImpl implements
 
 <p>The injection is defined in the file called <code>spring-dao-beans.xml</code> that you will create in the folder <code>src/main/resources/META-INF/spring</code> :</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;beans xmlns="http://www.springframework.org/schema/beans" 
@@ -725,7 +725,7 @@ public class IncidentDAOImpl implements
 
 <p>So realize this goal, you will create the file <code>spring-datasource-beans.xml</code> in the same folder directory with the following information :</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 ...
 	&lt;!--  Hibernate SessionFactory Definition --&gt;
@@ -771,7 +771,7 @@ public class IncidentDAOImpl implements
 
 <p>Create the following interface <code>IncidentService</code> in the folder <code>src/main/java/org/apache/camel/example/reportincident/service</code> with the code :</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 package org.apache.camel.example.reportincident.service;
 
@@ -825,7 +825,7 @@ public interface IncidentService
 
 <p>and its implementation <code>IncidentServiceImpl</code> in the folder <code>src/main/java/org/apache/camel/example/reportincident/service</code> </p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 package org.apache.camel.example.reportincident.service.impl;
 
@@ -895,7 +895,7 @@ public class IncidentServiceImpl impleme
 
 <p>The same remark as explained previously applies here concerning the DAO injection. So, you will create the following file <code>spring-service-beans-dao.xml</code> in the folder <code>src/main/resources/META-INF/spring</code> to inject the dependency of the DAO to our service.</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 	&lt;bean id="incidentServiceTarget" class="org.apache.camel.example.reportincident.service.impl.IncidentServiceImpl"&gt;
             &lt;property name="incidentDAO"&gt;
@@ -914,7 +914,7 @@ public class IncidentServiceImpl impleme
 <p>Compare to the other tutorial, we have packaged the code generated by the CXF framework in a project/bundle separated from the routing/mediation engine. This approach allows you to extend your web services (I mean the methods exposed) without impacting the rest of your application. The question concerning the model is mush more delicate because we have a dependency on the model created to persist information. In our case, we have separated the webservice model (where the fields available are all declared as string) from ours but you can considered to have the same when Types are compatible (e.g. Can I map the Date Time object of my webservice field to my model without any transformation ?).</p>
 
 <p>To generate the code that our application will use, we will work with following WSDL contract <code>report_incident.wsdl</code> that you create in the directory <code>src/main/resources/META-INF/wsdl</code>:</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 
@@ -997,7 +997,7 @@ public class IncidentServiceImpl impleme
 <p>The code will be generated thanks to a maven plugin : cxf-codegen-plugin.</p>
 
 <p>Add the following line in your <code>pom.xml</code> of the project <code>reportincident.webservice</code></p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 &lt;!-- CXF wsdl2java generator, will plugin to the compile goal --&gt;
 			&lt;plugin&gt;
@@ -1026,7 +1026,7 @@ public class IncidentServiceImpl impleme
 </pre>
 </div></div>
 <p>The code is generated using the maven command :</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn generate-sources
 </pre>
@@ -1050,11 +1050,11 @@ mvn generate-sources
 
     
 
-<div class="plugin_attachments_container">
+<div class="plugin_attachments_container conf-macro output-block" data-hasbody="false" data-macro-name="attachments">
     <div class="plugin_attachments_table_container">
         <fieldset class="hidden">
             <input type="hidden" class="plugin_attachments_macro_render_param" name="pageId" value="113428">
-            <input type="hidden" name="deleteConfirmMessage" value="Are you sure you want to send the attached file " _0="_0" to="to" the="the" trash="trash" only="only" a="a" space="space" administrator="administrator" can="can" undo="undo" this="this" action.="action.">
+            <input type="hidden" name="deleteConfirmMessage" value="Are you sure you want to send the attached file " to="" the="" only="" a="" space="" administrator="" can="" undo="" this="">
                                                  <input type="hidden" class="plugin_attachments_macro_render_param" name="patterns" value=".*part2.zip">
                                                                     <input type="hidden" name="outputType" value="display">
         </fieldset>
@@ -1072,7 +1072,7 @@ mvn generate-sources
 <table class="attachments aui"><thead><tr><th colspan="1" rowspan="1" class="expand-column attachment-summary-toggle">&#160;</th><th colspan="1" rowspan="1" class="filename-column">            <a shape="rect" href="tutorial-osgi-camel-part2.html?sortBy=name&amp;sortOrder=ascending">File</a>
         </th><th colspan="1" rowspan="1" class="modified-column">            <span class="propersortedby $sortOrder"><a shape="rect" href="tutorial-osgi-camel-part2.html?sortBy=date&amp;sortOrder=descending">Modified</a></span>
         </th></tr></thead><tbody><tr class="attachment-row" id="attachment-14975065" data-attachment-id="14975065" data-attachment-idx="1"><td colspan="1" rowspan="1" class="attachment-summary-toggle">
-                    <span class="icon icon-section-closed" title="Show more info"></span>
+                    <span class="icon icon-section-closed" title="Show more info"> </span>
                 </td><td colspan="1" rowspan="1" class="filename-column">
                     
 
@@ -1085,7 +1085,8 @@ mvn generate-sources
                                     </td><td colspan="1" rowspan="1" class="attachment-created modified-column">
                     <span>Apr 01, 2010</span>
                     <span>by</span>
-                        <a shape="rect" class="url fn confluence-userlink" href="    /confluence/display/~cmoulliard ">charles Moulliard</a>                </td></tr><tr class="attachment-summary attachment-summary-14975065 hidden" data-attachment-id="14975065" data-attachment-filename="tutorial-osgi-camel-part2.zip"><td colspan="1" rowspan="1" class="attachment-summary-toggle"></td><td colspan="2" rowspan="1" class="attachment-details-wrapper">
+                        <a shape="rect" class="url fn confluence-userlink" href="    /confluence/display/~cmoulliard
+">Moulliard Charles</a>                </td></tr><tr class="attachment-summary attachment-summary-14975065 hidden" data-attachment-id="14975065" data-attachment-filename="tutorial-osgi-camel-part2.zip"><td colspan="1" rowspan="1" class="attachment-summary-toggle"> </td><td colspan="2" rowspan="1" class="attachment-details-wrapper">
 
                     
                                         <p class="attachment-labels">Labels</p>
@@ -1104,13 +1105,15 @@ mvn generate-sources
     </div>
 </div>
 
-                                            <div class="attachment-history-wrapper"></div>
+                                            <div class="attachment-history-wrapper"> </div>
                     
                                             <div class="attachment-buttons">
                                                             <a shape="rect" class="aui-button previewAttachmentLink" data-filename="tutorial-osgi-camel-part2.zip" data-file-src="/confluence/download/attachments/113428/tutorial-osgi-camel-part2.zip?api=v2" data-linked-resource-default-alias="tutorial-osgi-camel-part2.zip" data-mime-type="application/x-zip" data-linked-resource-container-id="113428" data-linked-resource-id="14975065">Preview</a>
                             
                                                     </div>
                                     </td></tr></tbody></table>
+
+
     </div>
     <div class="plugin_attachments_upload_container">
             </div>

Modified: websites/production/camel/content/twitter-websocket-example.html
==============================================================================
--- websites/production/camel/content/twitter-websocket-example.html (original)
+++ websites/production/camel/content/twitter-websocket-example.html Sun Mar 31 15:23:07 2019
@@ -87,17 +87,17 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="TwitterWebsocketExample-TwitterWebsocketExample">Twitter Websocket Example</h2><p><strong>Available as of Camel 2.10</strong></p><p>This example is located in the Camel <a shape="rect" href="download.html">distribution</a> at <code>examples/camel-example-twitter-websocket</code>.</p><div class="confluence-information-macro confluence-information-macro-tip conf-macro output-block" data-hasbody="true" data-macro-name="tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><p>There is a <a shape="rect" href="twitter-websocket-blueprint-example.html">Twitter Websocket Blueprint Example</a> for OSGi Blueprint users.</p></div></div><p>The example is demonstrating how to poll a constant feed of twitter searches and publish results in real time using web socket to a web page.<br clear="none"> As usual the code in Camel is very simple. All it takes i
 s roughly</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="TwitterWebsocketExample-TwitterWebsocketExample">Twitter Websocket Example</h2><p><strong>Available as of Camel 2.10</strong></p><p>This example is located in the Camel <a shape="rect" href="download.html">distribution</a> at <code>examples/camel-example-twitter-websocket</code>.</p><div class="confluence-information-macro confluence-information-macro-tip conf-macro output-block" data-hasbody="true" data-macro-name="tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><p>There is a <a shape="rect" href="twitter-websocket-blueprint-example.html">Twitter Websocket Blueprint Example</a> for OSGi Blueprint users.</p></div></div><p>The example is demonstrating how to poll a constant feed of twitter searches and publish results in real time using web socket to a web page.<br clear="none"> As usual the code in Camel is very simple. All it takes i
 s roughly</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">  from("twitter://search?...")
     .to("websocket:camel-tweet?sendToAll=true")
 </pre>
-</div></div><p>This example is already configured using a testing purpose twitter account named 'cameltweet'. And therefore the example is ready to run out of the box.</p><p>This account is only for testing purpose, and should <strong>not</strong> be used in your custom applications. For that you need to setup and use your own twitter account.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><p class="title">How to use my own twitter account</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><p>To use twitter, you need a twitter account which have setup an <a shape="rect" class="external-link" href="https://apps.twitter.com/" rel="nofollow">application</a> to be used.<br clear="none"> For twitter users, you may be familiar that twitter requires you to grant applications access to your 
 twitter account, such as twitter for iphone etc.<br clear="none"> The same applies for this example. You can read details about how to setup a new twitter application at the Camel <a shape="rect" href="twitter.html">Twitter</a> documentation.</p><p>In your Twitter settings under the Apps menu, it will list your approved applications. For example I created an application named "Camel-Example"<br clear="none"> which is now listed as approved with read-only access.<br clear="none"> <span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="twitter-websocket-example.data/twitter-apps.png" data-image-src="/confluence/download/attachments/27841431/twitter-apps.png?version=1&amp;modificationDate=1332132961000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="28017370" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="twitter-apps.png" data-base-url="https://cwiki.apache.org/conflu
 ence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="27841431" data-linked-resource-container-version="9"></span></p><p>When you have created an application, you get a number of details back from twitter<br clear="none"> which you need to use the twitter component. Enter these details in the source code at:<br clear="none"> <code>src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java</code></p></div></div><p>You will need to compile this example first:</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>This example is already configured using a testing purpose twitter account named 'cameltweet'. And therefore the example is ready to run out of the box.</p><p>This account is only for testing purpose, and should <strong>not</strong> be used in your custom applications. For that you need to setup and use your own twitter account.</p><div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info"><p class="title">How to use my own twitter account</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><p>To use twitter, you need a twitter account which have setup an <a shape="rect" class="external-link" href="https://apps.twitter.com/" rel="nofollow">application</a> to be used.<br clear="none"> For twitter users, you may be familiar that twitter requires you to grant applications access to your 
 twitter account, such as twitter for iphone etc.<br clear="none"> The same applies for this example. You can read details about how to setup a new twitter application at the Camel <a shape="rect" href="twitter.html">Twitter</a> documentation.</p><p>In your Twitter settings under the Apps menu, it will list your approved applications. For example I created an application named "Camel-Example"<br clear="none"> which is now listed as approved with read-only access.<br clear="none"> <span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="twitter-websocket-example.data/twitter-apps.png" data-image-src="/confluence/download/attachments/27841431/twitter-apps.png?version=1&amp;modificationDate=1332132961000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="28017370" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="twitter-apps.png" data-base-url="https://cwiki.apache.org/conflu
 ence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="27841431" data-linked-resource-container-version="9"></span></p><p>When you have created an application, you get a number of details back from twitter<br clear="none"> which you need to use the twitter component. Enter these details in the source code at:<br clear="none"> <code>src/main/java/org/apache/camel/example/websocket/CamelTwitterWebSocketMain.java</code></p></div></div><p>You will need to compile this example first:</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">mvn compile
 </pre>
-</div></div><p>To run the example type</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>To run the example type</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">mvn exec:java
 </pre>
-</div></div><p>Then open a browser to see live twitter updates in the webpage</p><div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Then open a browser to see live twitter updates in the webpage</p><div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">http://localhost:9090/index.html
 </pre>
 </div></div><p>To stop the example hit ctrl + c</p><p>When the application runs, the webpage should automatic update with new tweets. A screenshot below illustrates what you would see:<br clear="none"> <span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="twitter-websocket-example.data/gaga.png" data-image-src="/confluence/download/attachments/27841431/gaga.png?version=1&amp;modificationDate=1332132974000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="28017371" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="gaga.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="27841431" data-linked-resource-container-version="9"></span></p><h3 id="TwitterWebsocketExample-Seealso">See also</h3><ul class="alternate"><li><a shape="rect" href="twitter-websocket-blueprint-example.html">Twitter Web
 socket Blueprint Example</a></li><li><a shape="rect" href="twitter.html">Twitter</a></li><li><a shape="rect" href="websocket.html">Websocket</a></li><li><a shape="rect" href="examples.html">Examples</a></li><li><a shape="rect" href="tutorials.html">Tutorials</a></li><li><a shape="rect" href="user-guide.html">User Guide</a></li></ul></div>

Modified: websites/production/camel/content/unsupported-groovy-dsl-features-on-web-console.html
==============================================================================
--- websites/production/camel/content/unsupported-groovy-dsl-features-on-web-console.html (original)
+++ websites/production/camel/content/unsupported-groovy-dsl-features-on-web-console.html Sun Mar 31 15:23:07 2019
@@ -96,7 +96,7 @@
 <h4 id="UnsupportedGroovyDSLFeaturesonWebConsole-CreatingNewClasses">Creating New Classes</h4>
 
 <p>When writing a route in Java DSL, we often create new classes. For example, we may create a processor as follows:</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 from("direct:start").process(new Processor() {
      public void process(Exchange exchange) {
@@ -115,7 +115,7 @@ Using a bundle of anonymous inner classe
 <h4 id="UnsupportedGroovyDSLFeaturesonWebConsole-InvokingUn-ImportedClassse">Invoking Un-Imported Classse </h4>
 
 <p>This feature also appears frequently. In the try...catch DSL or onException DSL, we may use some external or custom exception classes. But current groovy renderer doesn't process the import packages, so you should manually add the import lines each time you edit it. Another problem is that groovy renderer can't return the instance name of that class. For example, you may define a route like:</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 import org.apache.camel.*;
 import org.apache.camel.processor.*;
@@ -140,13 +140,13 @@ class GroovyRoute extends GroovyRouteBui
 
 <p>The <a shape="rect" href="web-console.html">Web Console</a> parses routes in groovy language by using the <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-groovy/apidocs/org/apache/camel/language/groovy/GroovyRouteBuilder.html">GroovyRouteBuilder</a> in camel-groovy component. GroovyRouteBuilder uses the ConfigureCamel to dynamically add methods for the route configuration behaviors. Currently it has added closure for filter and when DSL. So you can use two method to defined a filter through <a shape="rect" href="web-console.html">Web Console</a>:</p>
 
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 from("direct:start").filter(header("foo").isEqualTo("bar")).to("mock:result")
 </pre>
 </div></div>
 <p>or</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 from("direct:start").filter {e -&gt; e.in.headers.foo == "bar"}.to("mock:result")
 </pre>

Modified: websites/production/camel/content/upgrade-dependency-guide.html
==============================================================================
--- websites/production/camel/content/upgrade-dependency-guide.html (original)
+++ websites/production/camel/content/upgrade-dependency-guide.html Sun Mar 31 15:23:07 2019
@@ -108,7 +108,7 @@ The issue type should be "Task". A sampl
 
 <h2 id="Upgradedependencyguide-6.Validatethefeatures.xml(ifnecessary)">6. Validate the features.xml (if necessary)</h2>
 <p>If you change anything in the features.xml from platform/karaf you should run a validation test to ensure the generated features.xml file is correct. You can do this running the following maven goal from the platform directory.</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn clean install -Pvalidate
 </pre>
@@ -116,7 +116,7 @@ mvn clean install -Pvalidate
 
 <h2 id="Upgradedependencyguide-7.Runacompletebuild">7. Run a complete build</h2>
 <p>To ensure you don't break anything with your upgrade, run a complete build from the Camel root directory:</p>
-<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<div class="code panel pdl conf-macro output-block" style="border-width: 1px;" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl">
 <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Default" data-theme="Default">
 mvn clean install
 </pre>