Modified: websites/production/camel/content/undertow.html
==============================================================================
--- websites/production/camel/content/undertow.html (original)
+++ websites/production/camel/content/undertow.html Thu Sep 14 19:25:46 2017
@@ -86,7 +86,7 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="Undertow-UndertowComponent">Undertow Component</h2><p><strong>Available as
of Camel 2.16</strong></p><p>The <strong>undertow</strong> component provides
HTTP-based <a shape="rect" href="endpoint.html">endpoints</a> for consuming and
producing HTTP requests. That is, the Undertow component behaves as a simple
Web server.<br clear="none"> Undertow can also be used as a http client which
mean you can also use it with Camel as a producer.</p><p>Maven users will need
to add the following dependency to their <code>pom.xml</code> for this
component:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-undertow</artifactId>
<version>x.x.x</version>
@@ -106,13 +106,13 @@
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("direct:start").to("undertow:http://www.google.com");
]]></script>
</div></div><p>or in Spring XML</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="direct:start"/>
<to uri="undertow:http://www.google.com"/>
<route>
]]></script>
</div></div><h3 id="Undertow-ConsumerExample">Consumer Example</h3><p>In this
sample we define a route that exposes a HTTP service at <code><a shape="rect"
class="external-link" href="http://localhost:8080/myapp/myservice"
rel="nofollow">http://localhost:8080/myapp/myservice</a></code>:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[<route>
<from uri="undertow:http://localhost:8080/myapp/myservice"/>
<to uri="bean:myBean"/>
</route>]]></script>