Added: websites/production/camel/content/mina2.html ============================================================================== --- websites/production/camel/content/mina2.html (added) +++ websites/production/camel/content/mina2.html Wed Aug 7 07:20:48 2013 @@ -0,0 +1,335 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<html> +<head> + <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css"> + <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"> + <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script> + <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script> + <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script> + + <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> + + <style type="text/css"> + .maincontent { overflow:hidden; } + </style> + <!--[if IE]> + <style type="text/css"> + .maincontent { width:100%; } + </style> + <![endif]--> + + + <link href='http://camel.apache.org/styles/highlighter/styles/shCoreCamel.css' rel='stylesheet' type='text/css' /> + <link href='http://camel.apache.org/styles/highlighter/styles/shThemeCamel.css' rel='stylesheet' type='text/css' /> + <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script> + <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushJava.js' type='text/javascript'></script> + <script src='http://camel.apache.org/styles/highlighter/scripts/shBrushXml.js' type='text/javascript'></script> + + <script type="text/javascript"> + SyntaxHighlighter.defaults['toolbar'] = false; + SyntaxHighlighter.all(); + </script> + + <title> + Apache Camel: MINA2 + </title> +</head> +<body> +<div class="white_box"> +<div class="header"> + <div class="header_l"> + <div class="header_r"> + </div> + </div> +</div> +<div class="content"> + <div class="content_l"> + <div class="content_r"> + <div> + <!-- Banner --> +<div id="banner-content"><div id="asf_logo"> + <div id="activemq_logo" style="height:108px; background:transparent url(banner.data/apache-camel-7.png) no-repeat scroll left top;"> + <a shape="rect" style="float:left; width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px; margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a> + <a shape="rect" style="float:right; width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px; margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a> + </div> + </div></div> + <!-- Banner --> + <div class="top_red_bar"> + <div id="site-breadcrumbs"> + <!-- Breadcrumbs --> +<a href="index.html">Apache Camel</a> > <a href="documentation.html">Documentation</a> > <a href="components.html">Components</a> > <a href="mina2.html">MINA2</a> + </div> + <!-- Quicklinks --> +<div id="site-quicklinks"><p><a shape="rect" href="download.html" title="Download">Download</a> | <a shape="rect" href="javadoc.html" title="JavaDoc">JavaDoc</a> | <a shape="rect" href="source.html" title="Source">Source</a> | <a shape="rect" href="discussion-forums.html" title="Discussion Forums">Forums</a> | <a shape="rect" href="support.html" title="Support">Support</a></p></div> + <!-- Quicklinks --> + </div> + + <table border="0"> + <tbody> + <tr> + <td valign="top" width="100%"> +<div class="wiki-content maincontent"><h2><a shape="rect" name="MINA2-MINA2Component"></a>MINA 2 Component</h2> +<p><b>Available as of Camel 2.10</b></p> + +<p>The <b>mina2:</b> component is a transport for working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA 2.x</a></p> + +<p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p> +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ +<dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-mina2</artifactId> + <version>x.x.x</version> + <!-- use the same version as your Camel core version --> +</dependency> +]]></script> +</div></div> + +<h3><a shape="rect" name="MINA2-URIformat"></a>URI format</h3> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +mina2:tcp://hostname[:port][?options] +mina2:udp://hostname[:port][?options] +mina2:vm://hostname[:port][?options] +]]></script> +</div></div> +<p>You can specify a codec in the <a shape="rect" href="registry.html" title="Registry">Registry</a> using the <b>codec</b> option. If you are using TCP and no codec is specified then the <tt>textline</tt> flag is used to determine if text line based codec or object serialization should be used instead. By default the object serialization is used.</p> + +<p>For UDP if no codec is specified the default uses a basic <tt>ByteBuffer</tt> based codec.</p> + +<p>The VM protocol is used as a direct forwarding mechanism in the same JVM. </p> + +<p>A Mina producer has a default timeout value of 30 seconds, while it waits for a response from the remote server.</p> + +<p>In normal use, <tt>camel-mina</tt> only supports marshalling the body content—message headers and exchange properties are not sent.<br clear="none"> +However, the option, <b>transferExchange</b>, does allow you to transfer the exchange itself over the wire. See options below.</p> + +<p>You can append query options to the URI in the following format, <tt>?option=value&option=value&...</tt></p> + +<h3><a shape="rect" name="MINA2-Options"></a>Options</h3> +<div class="confluenceTableSmall"><div class="table-wrap"> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>codec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can refer to a named <tt>ProtocolCodecFactory</tt> instance in your <a shape="rect" href="registry.html" title="Registry">Registry</a> such as your Spring <tt>ApplicationContext</tt>, which is then used for the marshalling. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether or not to disconnect(close) from Mina session right after use. Can be used for both consumer and producer. </td></ tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>textline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is <tt>false</tt>, then Object Serialization is assumed over TCP. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>textlineDelimiter</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>DEFAULT</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP and if <b>textline=true</b>. Sets the text line delimiter to use. Possible values are: <tt>DEFAULT</tt>, <tt>AUTO</tt>, <tt>WINDOWS</tt>, <tt>UNIX</tt> or <tt>MAC</tt>. If none provided, Camel will use <tt>DEFAULT</tt>. This delimiter is used to mark the end of text. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sync</tt> </td><td colspa n="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Setting to set endpoint as one-way or request-response. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>lazySessionCreation</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sessions can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>timeout</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>30000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can configure the timeout that specifies how long to wait for a response from a remote server. The timeout unit is in milliseconds, so 60000 is 60 seconds. The timeout is only used for Mina producer. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>encodi ng</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <em>JVM Default</em> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can configure the encoding (a <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html" rel="nofollow">charset name</a>) to use for the TCP textline codec and the UDP protocol. If not provided, Camel will use the <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html#defaultCharset()" rel="nofollow">JVM default Charset</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>transferExchange</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are <em>serializable</em>. Camel will exclude any non-serializable objects and log it at <tt>WARN</tt> level. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>minaLogger</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can enable the Apache MINA logging filter. Apache MINA uses <tt>slf4j</tt> logging at <tt>INFO</tt> level to log all input and output. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>filters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> You can set a list of <a shape="rect" class="external-link" href="http://mina.apache.org/iofilter.html">Mina IoFilters</a> to register. The <tt>filters</tt> can be specified as a comma-separate list of bean references (e.g. <tt>#filterBean1,#filterBean2</tt>) w here each bean must be of type <tt>org.apache.mina.common.IoFilter</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>encoderMaxLineLength</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Set the textline protocol encoder max line length. By default the default value of Mina itself is used which are <tt>Integer.MAX_VALUE</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>decoderMaxLineLength</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>-1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Set the textline protocol decoder max line length. By default the default value of Mina itself is used which are 1024. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maximumPoolSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 16 </td><td colspan="1" rowspan="1" class="confluenceTd"> The TCP producer is thread saf e and supports concurrency much better. This option allows you to configure the number of threads in its thread pool for concurrent producers. <b>Note:</b> Camel has a pooled service which ensured it was already thread safe and supported concurrency already. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>allowDefaultCodec</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The mina component installs a default codec if both, <tt>codec</tt> is <tt>null</tt> and <tt>textline</tt> is <tt>false</tt>. Setting <tt>allowDefaultCodec</tt> to <tt>false</tt> prevents the mina component from installing a default codec as the first element in the filter chain. This is useful in scenarios where another filter must be the first in the filter chain, like the SSL filter. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnectOnNoReply</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If sync is enabled then this option dictates MinaConsumer if it should disconnect where there is no reply to send back. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>noReplyLogLevel</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>WARN</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If sync is enabled this option dictates MinaConsumer which logging level to use when logging a there is no reply to send back. Values are: <tt>FATAL, ERROR, INFO, DEBUG, OFF</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>orderedThreadPoolExecutor</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to use ordered thread pool, to ensure events are processed orderly on the same channel. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>sslContextPar ameters</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> SSL configuration using an <tt>org.apache.camel.util.jsse.SSLContextParameters</tt> instance. See <span class="error">[Using the JSSE Configuration Utility]</span>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>autoStartTls</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether to auto start SSL handshake. </td></tr></tbody></table> +</div> +</div> + +<h3><a shape="rect" name="MINA2-Usingacustomcodec"></a>Using a custom codec</h3> + +<p>See the Mina how to write your own codec. To use your custom codec with <tt>camel-mina</tt>, you should register your codec in the <a shape="rect" href="registry.html" title="Registry">Registry</a>; for example, by creating a bean in the Spring XML file. Then use the <tt>codec</tt> option to specify the bean ID of your codec. See <a shape="rect" href="hl7.html" title="HL7">HL7</a> that has a custom codec.</p> + +<h3><a shape="rect" name="MINA2-Samplewithsync%3Dfalse"></a>Sample with sync=false</h3> + +<p>In this sample, Camel exposes a service that listens for TCP connections on port 6200. We use the <b>textline</b> codec. In our route, we create a Mina consumer endpoint that listens on port 6200:</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +from("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false").to("mock:result"); +]]></script> +</div></div> + +<p>As the sample is part of a unit test, we test it by sending some data to it on port 6200.</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +MockEndpoint mock = getMockEndpoint("mock:result"); +mock.expectedBodiesReceived("Hello World"); + +template.sendBody("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false", "Hello World"); + +assertMockEndpointsSatisfied(); +]]></script> +</div></div> + +<h3><a shape="rect" name="MINA2-Samplewithsync%3Dtrue"></a>Sample with sync=true</h3> + +<p>In the next sample, we have a more common use case where we expose a TCP service on port 6201 also use the textline codec. However, this time we want to return a response, so we set the <tt>sync</tt> option to <tt>true</tt> on the consumer.</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +from("mina2:tcp://localhost:" + port2 + "?textline=true&sync=true").process(new Processor() { + public void process(Exchange exchange) throws Exception { + String body = exchange.getIn().getBody(String.class); + exchange.getOut().setBody("Bye " + body); + } +}); +]]></script> +</div></div> + +<p>Then we test the sample by sending some data and retrieving the response using the <tt>template.requestBody()</tt> method. As we know the response is a <tt>String</tt>, we cast it to <tt>String</tt> and can assert that the response is, in fact, something we have dynamically set in our processor code logic.</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +String response = (String)template.requestBody("mina2:tcp://localhost:" + port2 + "?textline=true&sync=true", "World"); +assertEquals("Bye World", response); +]]></script> +</div></div> + +<h3><a shape="rect" name="MINA2-SamplewithSpringDSL"></a>Sample with Spring DSL</h3> + +<p>Spring DSL can, of course, also be used for <a shape="rect" href="mina.html" title="MINA">MINA</a>. In the sample below we expose a TCP server on port 5555:</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ + <route> + <from uri="mina2:tcp://localhost:5555?textline=true"/> + <to uri="bean:myTCPOrderHandler"/> + </route> +]]></script> +</div></div> + +<p>In the route above, we expose a TCP server on port 5555 using the textline codec. We let the Spring bean with ID, <tt>myTCPOrderHandler</tt>, handle the request and return a reply. For instance, the handler bean could be implemented as follows:</p> +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ + public String handleOrder(String payload) { + ... + return "Order: OK" + } +]]></script> +</div></div> + + +<h3><a shape="rect" name="MINA2-ClosingSessionWhenComplete"></a>Closing Session When Complete</h3> + +<p>When acting as a server you sometimes want to close the session when, for example, a client conversion is finished. To instruct Camel to close the session, you should add a header with the key <tt>CamelMinaCloseSessionWhenComplete</tt> set to a boolean <tt>true</tt> value.</p> + +<p>For instance, the example below will close the session after it has written the <tt>bye</tt> message back to the client:</p> +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ + from("mina2:tcp://localhost:8080?sync=true&textline=true").process(new Processor() { + public void process(Exchange exchange) throws Exception { + String body = exchange.getIn().getBody(String.class); + exchange.getOut().setBody("Bye " + body); + exchange.getOut().setHeader(Mina2Constants.MINA_CLOSE_SESSION_WHEN_COMPLETE, true); + } + }); +]]></script> +</div></div> + +<h3><a shape="rect" name="MINA2-GettheIoSessionformessage"></a>Get the IoSession for message</h3> + +<p>You can get the IoSession from the message header with this key <tt>Mina2Constants.MINA_IOSESSION</tt>, and also get the local host address with the key <tt>Mina2Constants.MINA_LOCAL_ADDRESS</tt> and remote host address with the key <tt>Mina2Constants.MINA_REMOTE_ADDRESS</tt>.</p> + +<h3><a shape="rect" name="MINA2-ConfiguringMinafilters"></a>Configuring Mina filters</h3> + +<p>Filters permit you to use some Mina Filters, such as <tt>SslFilter</tt>. You can also implement some customized filters. Please note that <tt>codec</tt> and <tt>logger</tt> are also implemented as Mina filters of type, <tt>IoFilter</tt>. Any filters you may define are appended to the end of the filter chain; that is, after <tt>codec</tt> and <tt>logger</tt>.</p> + +<h3><a shape="rect" name="MINA2-SeeAlso"></a>See Also</h3> +<ul><li><a shape="rect" href="configuring-camel.html" title="Configuring Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html" title="Component">Component</a></li><li><a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a></li><li><a shape="rect" href="getting-started.html" title="Getting Started">Getting Started</a></li></ul> + +<ul class="alternate" type="square"><li><a shape="rect" href="mina.html" title="MINA">MINA</a></li><li><a shape="rect" href="netty.html" title="Netty">Netty</a></li></ul> +</div> + </td> + <td valign="top"> + <div class="navigation"> + <div class="navigation_top"> + <!-- NavigationBar --> +<div class="navigation_bottom" id="navigation_bottom"><h3><a shape="rect" name="Navigation-Overview"></a><a shape="rect" href="overview.html" title="Overview">Overview</a></h3> + +<ul class="alternate" type="square"><li><a shape="rect" href="index.html" title="Index">Home</a></li><li><a shape="rect" href="download.html" title="Download">Download</a></li><li><a shape="rect" href="getting-started.html" title="Getting Started">Getting Started</a></li><li><a shape="rect" href="faq.html" title="FAQ">FAQ</a></li></ul> + + +<h3><a shape="rect" name="Navigation-Documentation"></a><a shape="rect" href="documentation.html" title="Documentation">Documentation</a></h3> + +<ul class="alternate" type="square"><li><a shape="rect" href="user-guide.html" title="User Guide">User Guide</a></li><li><a shape="rect" href="manual.html" title="Manual">Manual</a></li><li><a shape="rect" href="books.html" title="Books">Books</a></li><li><a shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a></li><li><a shape="rect" href="examples.html" title="Examples">Examples</a></li><li><a shape="rect" href="cookbook.html" title="Cookbook">Cookbook</a></li><li><a shape="rect" href="architecture.html" title="Architecture">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html" title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></li><li><a shape="rect" href="dsl.html" title="DSL">DSL</a></li><li><a shape="rect" href="components.html" title="Components">Components</a></li><li><a shape="rect" href="data-format.html" title="Data Format">Data Format</a></li><li><a shape="rect" href="languages.html" title="Languages">L anguages</a></li><li><a shape="rect" href="security.html" title="Security">Security</a></li></ul> + + +<h3><a shape="rect" name="Navigation-Search"></a>Search</h3> + +<p> +</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse"> + <div> + <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq"> + <input type="hidden" name="ie" value="UTF-8"> + <input type="text" name="q" size="21"> + <input type="submit" name="sa" value="Search"> + </div> +</form> +<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script> + + +<h3><a shape="rect" name="Navigation-Community"></a><a shape="rect" href="community.html" title="Community">Community</a></h3> + +<ul class="alternate" type="square"><li><a shape="rect" href="support.html" title="Support">Support</a></li><li><a shape="rect" href="contributing.html" title="Contributing">Contributing</a></li><li><a shape="rect" href="discussion-forums.html" title="Discussion Forums">Discussion Forums</a></li><li><a shape="rect" href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li><li><a shape="rect" href="user-stories.html" title="User Stories">User Stories</a></li><li><a shape="rect" href="news.html" title="News">News</a></li><li><a shape="rect" href="articles.html" title="Articles">Articles</a></li><li><a shape="rect" href="site.html" title="Site">Site</a></li><li><a shape="rect" href="team.html" title="Team">Team</a></li><li><a shape="rect" class="external-link" href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul> + + +<h3><a shape="rect" name="Navigation-Developers"></a><a shape="rect" href="developers.html" title="Developers">Developers</a></h3> + +<ul class="alternate" type="square"><li><a shape="rect" href="developers.html" title="Developers">Developer Guide</a></li><li><a shape="rect" href="source.html" title="Source">Source</a></li><li><a shape="rect" href="building.html" title="Building">Building</a></li><li><a shape="rect" href="javadoc.html" title="JavaDoc">JavaDoc</a></li><li><a shape="rect" href="irc-room.html" title="IRC Room">IRC Room</a></li></ul> + + +<h3><a shape="rect" name="Navigation-ApacheSoftwareFoundation"></a>Apache Software Foundation</h3> + +<ul class="alternate" type="square"><li><a shape="rect" class="external-link" href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul> +</div> + <!-- NavigationBar --> + </div> + </div> + </td> + </tr> + </tbody> + </table> + + + <div class="bottom_red_bar"></div> + </div> + </div> + </div> +</div> +<div class="black_box"> +<div class="footer"> + <div class="footer_l"> + <div class="footer_r"> + <div> + <a href="$base/privacy-policy.html">Privacy Policy</a> - + (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=34013589">edit page</a>) + (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34013589&showComments=true&showCommentArea=true#addcomment">add comment</a>) + </div> + </div> + </div> +</div> +</div> +</div> +<div class="design_attribution"> +© 2004-2011 The Apache Software Foundation. +<br> +Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. +<br> +<a href="http://hiramchirino.com">Graphic Design By Hiram</a> +</div> + +<!-- Camel committers that would like access to the Analytics, send a note to priv...@camel.apache.org --> +<script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-25976253-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + +</script> + +</body> +</html> + +
Modified: websites/production/camel/content/transport.html ============================================================================== --- websites/production/camel/content/transport.html (original) +++ websites/production/camel/content/transport.html Wed Aug 7 07:20:48 2013 @@ -366,7 +366,7 @@ hdfs://path[?options] </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For reading/writing from/to an <a shape="rect" class="external-link" href="http://hadoop.apache.org/hdfs/">HDFS</a> filesystem </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hl7.html" title="HL7">HL7</a> / camel-hl7 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -mina:tcp://hostname[:port] +mina2:tcp://hostname[:port] ]]></script> </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with the HL7 MLLP protocol and the HL7 model using the <a shape="rect" class="external-link" href="http://hl7api.sourceforge.net" rel="nofollow">HAPI library</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="http.html" title="HTTP">HTTP</a> / camel-http <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> @@ -487,9 +487,14 @@ mail://user-info@host:port </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving email </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mina.html" title="MINA">MINA</a> / camel-mina <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -[tcp|udp|vm]:host[:port] +mina:[tcp|udp|vm]:host[:port] ]]></script> -</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mock.html" title="Mock">Mock</a> / camel-core +</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA 1.x</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mina2.html" title="MINA2">MINA2</a> / camel-mina2 +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ +mina2:[tcp|udp|vm]:host[:port] +]]></script> +</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA 2.x</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mock.html" title="Mock">Mock</a> / camel-core <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ mock:name Modified: websites/production/camel/content/uris.html ============================================================================== --- websites/production/camel/content/uris.html (original) +++ websites/production/camel/content/uris.html Wed Aug 7 07:20:48 2013 @@ -364,7 +364,7 @@ hdfs://path[?options] </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For reading/writing from/to an <a shape="rect" class="external-link" href="http://hadoop.apache.org/hdfs/">HDFS</a> filesystem </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="hl7.html" title="HL7">HL7</a> / camel-hl7 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -mina:tcp://hostname[:port] +mina2:tcp://hostname[:port] ]]></script> </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> For working with the HL7 MLLP protocol and the HL7 model using the <a shape="rect" class="external-link" href="http://hl7api.sourceforge.net" rel="nofollow">HAPI library</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="http.html" title="HTTP">HTTP</a> / camel-http <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> @@ -485,9 +485,14 @@ mail://user-info@host:port </div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sending and receiving email </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mina.html" title="MINA">MINA</a> / camel-mina <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -[tcp|udp|vm]:host[:port] +mina:[tcp|udp|vm]:host[:port] ]]></script> -</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mock.html" title="Mock">Mock</a> / camel-core +</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA 1.x</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mina2.html" title="MINA2">MINA2</a> / camel-mina2 +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ +mina2:[tcp|udp|vm]:host[:port] +]]></script> +</div></div> </td><td colspan="1" rowspan="1" class="confluenceTd"> Working with <a shape="rect" class="external-link" href="http://mina.apache.org/">Apache MINA 2.x</a> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect" href="mock.html" title="Mock">Mock</a> / camel-core <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ mock:name