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/08/09 07:22:18 UTC

svn commit: r1048454 - in /websites/production/camel/content: ./ cache/

Author: buildbot
Date: Fri Aug  9 07:22:18 2019
New Revision: 1048454

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/advanced-configuration-of-camelcontext-using-spring.html
    websites/production/camel/content/aggregate-example.html
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-pattern-appendix.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/cafe-example.html
    websites/production/camel/content/ejb.html
    websites/production/camel/content/loadbalancing-mina-example.html
    websites/production/camel/content/route-throttling-example.html
    websites/production/camel/content/scatter-gather.html

Modified: websites/production/camel/content/advanced-configuration-of-camelcontext-using-spring.html
==============================================================================
--- websites/production/camel/content/advanced-configuration-of-camelcontext-using-spring.html (original)
+++ websites/production/camel/content/advanced-configuration-of-camelcontext-using-spring.html Fri Aug  9 07:22:18 2019
@@ -130,6 +130,7 @@ public class ContainerWideInterceptor im
     private static final Logger LOG = LoggerFactory.getLogger(ContainerWideInterceptor.class);
     private static int count;
 
+    @Override
     public Processor wrapProcessorInInterceptors(final CamelContext context, final NamedNode definition,
                                                  final Processor target, final Processor nextTarget) throws Exception {
 

Modified: websites/production/camel/content/aggregate-example.html
==============================================================================
--- websites/production/camel/content/aggregate-example.html (original)
+++ websites/production/camel/content/aggregate-example.html Fri Aug  9 07:22:18 2019
@@ -187,6 +187,7 @@ Error rendering macro 'code': Invalid va
 Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
 public class NumberAggregationStrategy implements AggregationStrategy {
 
+    @Override
     public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
         if (oldExchange == null) {
             return newExchange;

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 Fri Aug  9 07:22:18 2019
@@ -1112,65 +1112,20 @@ ejb:ejbName[?options]
 <h3 id="BookComponentAppendix-Examples.2">Examples</h3>
 
 <p>In the following examples we use the Greater EJB which is defined as follows:</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-public interface GreaterLocal {
-
-    String hello(String name);
-
-    String bye(String name);
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>And the implementation</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Stateless
-public class GreaterImpl implements GreaterLocal {
-
-    public String hello(String name) {
-        return "Hello " + name;
-    }
-
-    public String bye(String name) {
-        return "Bye " + name;
-    }
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <h4 id="BookComponentAppendix-UsingJavaDSL">Using Java DSL</h4>
 
 <p>In this example we want to invoke the <code>hello</code> method on the EJB. Since this example is based on an unit test using Apache OpenEJB we have to set a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component with the OpenEJB settings.</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Override
-protected CamelContext createCamelContext() throws Exception {
-    CamelContext answer = new DefaultCamelContext();
-
-    // enlist EJB component using the JndiContext
-    EjbComponent ejb = answer.getComponent("ejb", EjbComponent.class);
-    ejb.setContext(createEjbContext());
-
-    return answer;
-}
-
-private static Context createEjbContext() throws NamingException {
-    // here we need to define our context factory to use OpenEJB for our testing
-    Properties properties = new Properties();
-    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
-    return new InitialContext(properties);
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Then we are ready to use the EJB in the Camel route:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-from("direct:start")
-    // invoke the greeter EJB using the local interface and invoke the hello method
-    .to("ejb:GreaterImplLocal?method=hello")
-    .to("mock:result");
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <div class="confluence-information-macro confluence-information-macro-tip conf-macro output-block" data-hasbody="true" data-macro-name="tip"><p class="title">In a real application server</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> </span><div class="confluence-information-macro-body">
 <p>In a real application server you most likely do not have to setup a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component as it will create a default <code>JndiContext</code> on the same JVM as the application server, which usually allows it to access the JNDI registry and lookup the <a shape="rect" href="ejb.html">EJB</a>s.<br clear="none">
@@ -1182,29 +1137,11 @@ However if you need to access a applicat
 
 <p>Again since this is based on an unit test we need to setup the <a shape="rect" href="ejb.html">EJB</a> component:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;!-- setup Camel EJB component --&gt;
-&lt;bean id="ejb" class="org.apache.camel.component.ejb.EjbComponent"&gt;
-    &lt;property name="properties" ref="jndiProperties"/&gt;
-&lt;/bean&gt;
-
-&lt;!-- use OpenEJB context factory --&gt;
-&lt;p:properties id="jndiProperties"&gt;
-    &lt;prop key="java.naming.factory.initial"&gt;org.apache.openejb.client.LocalInitialContextFactory&lt;/prop&gt;
-&lt;/p:properties&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Before we are ready to use <a shape="rect" href="ejb.html">EJB</a> in the Camel routes:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
-    &lt;route&gt;
-        &lt;from uri="direct:start"/&gt;
-        &lt;to uri="ejb:GreaterImplLocal?method=hello"/&gt;
-        &lt;to uri="mock:result"/&gt;
-    &lt;/route&gt;
-&lt;/camelContext&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 
 

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 Fri Aug  9 07:22:18 2019
@@ -4415,11 +4415,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards. Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect" href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <div class="conf-macro output-block" data-hasbody="false" data-macro-name="toc"><style type="text/css">/*<![CDATA[*/
-div.rbtoc1563527989287 {padding: 0px;}
-div.rbtoc1563527989287 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1563527989287 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1565335262423 {padding: 0px;}
+div.rbtoc1565335262423 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1565335262423 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1563527989287">
+/*]]>*/</style><div class="toc-macro rbtoc1565335262423">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven 2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -10147,6 +10147,7 @@ Error rendering macro 'code': Invalid va
 
 Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
 public class LowestQuoteAggregationStrategy implements AggregationStrategy {
+    @Override
     public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
         // the first time we only have the new exchange
         if (oldExchange == null) {
@@ -12264,65 +12265,20 @@ ejb:ejbName[?options]
 <h3 id="BookInOnePage-Examples.13">Examples</h3>
 
 <p>In the following examples we use the Greater EJB which is defined as follows:</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-public interface GreaterLocal {
-
-    String hello(String name);
-
-    String bye(String name);
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>And the implementation</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Stateless
-public class GreaterImpl implements GreaterLocal {
-
-    public String hello(String name) {
-        return "Hello " + name;
-    }
-
-    public String bye(String name) {
-        return "Bye " + name;
-    }
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <h4 id="BookInOnePage-UsingJavaDSL">Using Java DSL</h4>
 
 <p>In this example we want to invoke the <code>hello</code> method on the EJB. Since this example is based on an unit test using Apache OpenEJB we have to set a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component with the OpenEJB settings.</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Override
-protected CamelContext createCamelContext() throws Exception {
-    CamelContext answer = new DefaultCamelContext();
-
-    // enlist EJB component using the JndiContext
-    EjbComponent ejb = answer.getComponent("ejb", EjbComponent.class);
-    ejb.setContext(createEjbContext());
-
-    return answer;
-}
-
-private static Context createEjbContext() throws NamingException {
-    // here we need to define our context factory to use OpenEJB for our testing
-    Properties properties = new Properties();
-    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
-    return new InitialContext(properties);
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Then we are ready to use the EJB in the Camel route:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-from("direct:start")
-    // invoke the greeter EJB using the local interface and invoke the hello method
-    .to("ejb:GreaterImplLocal?method=hello")
-    .to("mock:result");
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <div class="confluence-information-macro confluence-information-macro-tip conf-macro output-block" data-hasbody="true" data-macro-name="tip"><p class="title">In a real application server</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> </span><div class="confluence-information-macro-body">
 <p>In a real application server you most likely do not have to setup a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component as it will create a default <code>JndiContext</code> on the same JVM as the application server, which usually allows it to access the JNDI registry and lookup the <a shape="rect" href="ejb.html">EJB</a>s.<br clear="none">
@@ -12334,29 +12290,11 @@ However if you need to access a applicat
 
 <p>Again since this is based on an unit test we need to setup the <a shape="rect" href="ejb.html">EJB</a> component:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;!-- setup Camel EJB component --&gt;
-&lt;bean id="ejb" class="org.apache.camel.component.ejb.EjbComponent"&gt;
-    &lt;property name="properties" ref="jndiProperties"/&gt;
-&lt;/bean&gt;
-
-&lt;!-- use OpenEJB context factory --&gt;
-&lt;p:properties id="jndiProperties"&gt;
-    &lt;prop key="java.naming.factory.initial"&gt;org.apache.openejb.client.LocalInitialContextFactory&lt;/prop&gt;
-&lt;/p:properties&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Before we are ready to use <a shape="rect" href="ejb.html">EJB</a> in the Camel routes:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
-    &lt;route&gt;
-        &lt;from uri="direct:start"/&gt;
-        &lt;to uri="ejb:GreaterImplLocal?method=hello"/&gt;
-        &lt;to uri="mock:result"/&gt;
-    &lt;/route&gt;
-&lt;/camelContext&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 
 

Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Fri Aug  9 07:22:18 2019
@@ -1103,6 +1103,7 @@ Error rendering macro 'code': Invalid va
 
 Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
 public class LowestQuoteAggregationStrategy implements AggregationStrategy {
+    @Override
     public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
         // the first time we only have the new exchange
         if (oldExchange == null) {

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

Modified: websites/production/camel/content/cafe-example.html
==============================================================================
--- websites/production/camel/content/cafe-example.html (original)
+++ websites/production/camel/content/cafe-example.html Fri Aug  9 07:22:18 2019
@@ -105,6 +105,7 @@
 
 <p>Here is the route builder code for it.</p>
 Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
+@Override
 public void configure() {
     
     from("direct:cafe")

Modified: websites/production/camel/content/ejb.html
==============================================================================
--- websites/production/camel/content/ejb.html (original)
+++ websites/production/camel/content/ejb.html Fri Aug  9 07:22:18 2019
@@ -143,65 +143,20 @@ ejb:ejbName[?options]
 <h3 id="EJB-Examples">Examples</h3>
 
 <p>In the following examples we use the Greater EJB which is defined as follows:</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-public interface GreaterLocal {
-
-    String hello(String name);
-
-    String bye(String name);
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>And the implementation</p>
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Stateless
-public class GreaterImpl implements GreaterLocal {
-
-    public String hello(String name) {
-        return "Hello " + name;
-    }
-
-    public String bye(String name) {
-        return "Bye " + name;
-    }
-
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <h4 id="EJB-UsingJavaDSL">Using Java DSL</h4>
 
 <p>In this example we want to invoke the <code>hello</code> method on the EJB. Since this example is based on an unit test using Apache OpenEJB we have to set a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component with the OpenEJB settings.</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-@Override
-protected CamelContext createCamelContext() throws Exception {
-    CamelContext answer = new DefaultCamelContext();
-
-    // enlist EJB component using the JndiContext
-    EjbComponent ejb = answer.getComponent("ejb", EjbComponent.class);
-    ejb.setContext(createEjbContext());
-
-    return answer;
-}
-
-private static Context createEjbContext() throws NamingException {
-    // here we need to define our context factory to use OpenEJB for our testing
-    Properties properties = new Properties();
-    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
-    return new InitialContext(properties);
-}
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Then we are ready to use the EJB in the Camel route:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-from("direct:start")
-    // invoke the greeter EJB using the local interface and invoke the hello method
-    .to("ejb:GreaterImplLocal?method=hello")
-    .to("mock:result");
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <div class="confluence-information-macro confluence-information-macro-tip conf-macro output-block" data-hasbody="true" data-macro-name="tip"><p class="title">In a real application server</p><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"> </span><div class="confluence-information-macro-body">
 <p>In a real application server you most likely do not have to setup a <code>JndiContext</code> on the <a shape="rect" href="ejb.html">EJB</a> component as it will create a default <code>JndiContext</code> on the same JVM as the application server, which usually allows it to access the JNDI registry and lookup the <a shape="rect" href="ejb.html">EJB</a>s.<br clear="none">
@@ -213,29 +168,11 @@ However if you need to access a applicat
 
 <p>Again since this is based on an unit test we need to setup the <a shape="rect" href="ejb.html">EJB</a> component:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;!-- setup Camel EJB component --&gt;
-&lt;bean id="ejb" class="org.apache.camel.component.ejb.EjbComponent"&gt;
-    &lt;property name="properties" ref="jndiProperties"/&gt;
-&lt;/bean&gt;
-
-&lt;!-- use OpenEJB context factory --&gt;
-&lt;p:properties id="jndiProperties"&gt;
-    &lt;prop key="java.naming.factory.initial"&gt;org.apache.openejb.client.LocalInitialContextFactory&lt;/prop&gt;
-&lt;/p:properties&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 <p>Before we are ready to use <a shape="rect" href="ejb.html">EJB</a> in the Camel routes:</p>
 
-Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
-&lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
-    &lt;route&gt;
-        &lt;from uri="direct:start"/&gt;
-        &lt;to uri="ejb:GreaterImplLocal?method=hello"/&gt;
-        &lt;to uri="mock:result"/&gt;
-    &lt;/route&gt;
-&lt;/camelContext&gt;
-</pre>
+<div class="error conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup"><span class="error">Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
 
 
 

Modified: websites/production/camel/content/loadbalancing-mina-example.html
==============================================================================
--- websites/production/camel/content/loadbalancing-mina-example.html (original)
+++ websites/production/camel/content/loadbalancing-mina-example.html Fri Aug  9 07:22:18 2019
@@ -139,8 +139,8 @@ Error rendering macro 'code': Invalid va
       &lt;from uri="direct:loadbalance"/&gt;
       &lt;loadBalance inheritErrorHandler="false"&gt;
         &lt;failover roundRobin="true"/&gt;
-        &lt;to uri="mina2:tcp://localhost:9991?sync=true"/&gt;
-        &lt;to uri="mina2:tcp://localhost:9992?sync=true"/&gt;
+        &lt;to uri="mina:tcp://localhost:9991?sync=true"/&gt;
+        &lt;to uri="mina:tcp://localhost:9992?sync=true"/&gt;
       &lt;/loadBalance&gt;
       &lt;log message="${body}"/&gt;
     &lt;/route&gt;
@@ -162,7 +162,7 @@ Error rendering macro 'code': Invalid va
   &lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
 
     &lt;route id="mina1"&gt;
-      &lt;from uri="mina2:tcp://localhost:9991"/&gt;
+      &lt;from uri="mina:tcp://localhost:9991"/&gt;
       &lt;setHeader name="minaServer"&gt;
         &lt;constant&gt;localhost:9991&lt;/constant&gt;
       &lt;/setHeader&gt;
@@ -186,7 +186,7 @@ Error rendering macro 'code': Invalid va
   &lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
 
     &lt;route id="mina2"&gt;
-      &lt;from uri="mina2:tcp://localhost:9992"/&gt;
+      &lt;from uri="mina:tcp://localhost:9992"/&gt;
       &lt;setHeader name="minaServer"&gt;
         &lt;constant&gt;localhost:9992&lt;/constant&gt;
       &lt;/setHeader&gt;

Modified: websites/production/camel/content/route-throttling-example.html
==============================================================================
--- websites/production/camel/content/route-throttling-example.html (original)
+++ websites/production/camel/content/route-throttling-example.html Fri Aug  9 07:22:18 2019
@@ -159,7 +159,7 @@ Error rendering macro 'code': Invalid va
 For example you can change the option <code>maxInflightExchanges</code> while its running to find a more suitable value.</p>
 
 <p>The screenshot below illustrates it from a JConsole.<br clear="none">
-<span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="route-throttling-example.data/throttling%20services.png" data-image-src="/confluence/download/attachments/5604305/throttling%20services.png?version=1&amp;modificationDate=1257166177000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="5865480" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="throttling services.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="5604305" data-linked-resource-container-version="36"></span></p>
+<span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="route-throttling-example.data/throttling%20services.png" data-image-src="/confluence/download/attachments/5604305/throttling%20services.png?version=1&amp;modificationDate=1257166177000&amp;api=v2" data-unresolved-comment-count="0" data-linked-resource-id="5865480" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="throttling services.png" data-base-url="https://cwiki.apache.org/confluence" data-linked-resource-content-type="image/png" data-linked-resource-container-id="5604305" data-linked-resource-container-version="38"></span></p>
 
 <p>See more at <a shape="rect" href="camel-jmx.html">using JMX with Camel</a>.</p>
 

Modified: websites/production/camel/content/scatter-gather.html
==============================================================================
--- websites/production/camel/content/scatter-gather.html (original)
+++ websites/production/camel/content/scatter-gather.html Fri Aug  9 07:22:18 2019
@@ -190,6 +190,7 @@ Error rendering macro 'code': Invalid va
 
 Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'<pre class="conf-macro output-inline" data-hasbody="true" data-macro-name="unmigrated-inline-wiki-markup">
 public class LowestQuoteAggregationStrategy implements AggregationStrategy {
+    @Override
     public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
         // the first time we only have the new exchange
         if (oldExchange == null) {