Author: buildbot
Date: Wed Aug 22 06:19:52 2012
New Revision: 829645
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-component-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/hl7.html
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Aug 22
06:19:52 2012
@@ -6650,7 +6650,7 @@ hibernate:[entityClassName][?options]
<p>The HL7 MLLP codec has the following options:</p>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>parser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> To use a
custom parser. Should be of type <tt>ca.uhn.hl7v2.parser.Parser</tt>.
</td></tr></tbody></table>
</div>
</div>
@@ -6780,8 +6780,9 @@ Then you don't need to create an instanc
<h3><a shape="rect" name="BookComponentAppendix-Options"></a>Options</h3>
<p>The HL7 Data Format supports the following options:</p>
<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 </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>parser</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> To use a custom parser. Should be of
type <tt>ca.uhn.hl7v2.parser.Parser</tt>. </td></tr></tbody></table>
</div>
+
</div>
<h3><a shape="rect"
name="BookComponentAppendix-Dependencies"></a>Dependencies</h3>
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 Wed Aug 22 06:19:52
2012
@@ -27243,7 +27243,7 @@ hibernate:[entityClassName][?options]
<p>The HL7 MLLP codec has the following options:</p>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>parser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> To use a
custom parser. Should be of type <tt>ca.uhn.hl7v2.parser.Parser</tt>.
</td></tr></tbody></table>
</div>
</div>
@@ -27373,8 +27373,9 @@ Then you don't need to create an instanc
<h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3>
<p>The HL7 Data Format supports the following options:</p>
<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 </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>parser</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> To use a custom parser. Should be of
type <tt>ca.uhn.hl7v2.parser.Parser</tt>. </td></tr></tbody></table>
</div>
+
</div>
<h3><a shape="rect" name="BookInOnePage-Dependencies"></a>Dependencies</h3>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/hl7.html
==============================================================================
--- websites/production/camel/content/hl7.html (original)
+++ websites/production/camel/content/hl7.html Wed Aug 22 06:19:52 2012
@@ -102,7 +102,7 @@
<p>The HL7 MLLP codec has the following options:</p>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </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>startByte</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0b</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The start byte spanning the HL7 payload.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>endByte1</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>0x1c</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The first
end byte spanning the HL7 payload.</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>endByte2</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>0x0d</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> The 2nd end byte spanning the HL7 payload. </td></tr
><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>charset</tt>
></td><td colspan="1" rowspan="1" class="confluenceTd"> JVM Default </td><td
>colspan="1" rowspan="1" class="confluenceTd"> The encoding (is 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 codec. If not provided, Camel
>will use the <a shape="rect" class="external-link"
>href="http://docs.oracle.com/javase/6/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>convertLFtoCR</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1"
>rowspan="1" class="confluenceTd"> Will convert <tt>\n</tt> to <tt>\r</tt>
>(<tt>0x0d</tt>, 13 decimal) as HL7 usually uses <tt>\r</tt> as segment
>terminators. The HAPI library requires the use of <tt>\r</tt>. </td></tr><t
r><td colspan="1" rowspan="1" class="confluenceTd"> <tt>validate</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> Whether HAPI Parser should
validate or not. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>parser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> To use a
custom parser. Should be of type <tt>ca.uhn.hl7v2.parser.Parser</tt>.
</td></tr></tbody></table>
</div>
</div>
@@ -232,8 +232,9 @@ Then you don't need to create an instanc
<h3><a shape="rect" name="HL7-Options"></a>Options</h3>
<p>The HL7 Data Format supports the following options:</p>
<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 </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Option </th><th colspan="1" rowspan="1"
class="confluenceTh"> Default </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> validate </td><td colspan="1" rowspan="1"
class="confluenceTd"> true </td><td colspan="1" rowspan="1"
class="confluenceTd"> Whether the HAPI Parser should validate.
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>parser</tt>
</td><td colspan="1" rowspan="1" class="confluenceTd">
<tt>ca.uhn.hl7v2.parser.PipeParser</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11:</b> To use a custom parser. Should be of
type <tt>ca.uhn.hl7v2.parser.Parser</tt>. </td></tr></tbody></table>
</div>
+
</div>
<h3><a shape="rect" name="HL7-Dependencies"></a>Dependencies</h3>
@@ -285,7 +286,7 @@ in.append(line1);
in.append(<span class="code-quote">"\n"</span>);
in.append(line2);
-<span class="code-object">String</span> out = (<span
class="code-object">String</span>)template.requestBody(<span
class="code-quote">"mina:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>,
in.toString());</span>
+<span class="code-object">String</span> out = (<span
class="code-object">String</span>)template.requestBody(<span
class="code-quote">"mina2:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>,
in.toString());</span>
</pre>
</div></div>
@@ -319,7 +320,7 @@ in.append(line2);
<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-java">DataFormat hl7 = <span class="code-keyword">new</span>
HL7DataFormat();
<span class="code-comment">// we setup or HL7 listener on port 8888 (using the
hl7codec) and in sync mode so we can <span class="code-keyword">return</span> a
response
-</span>from(<span class="code-quote">"mina:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>)
+</span>from(<span class="code-quote">"mina2:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>)
</span> <span class="code-comment">// we use the HL7 data format to
unmarshal from HL7 stream to the HAPI Message model
</span> <span class="code-comment">// <span
class="code-keyword">this</span> ensures that the camel message has been
enriched with hl7 specific headers to
</span> <span class="code-comment">// make the routing much easier (see
below)
@@ -354,7 +355,7 @@ If we do not use the HL7 DataFormat, the
mock.expectedBodiesReceived(<span class="code-quote">"Bye World"</span>);
<span class="code-comment">// send plain hello world as <span
class="code-object">String</span>
-</span><span class="code-object">Object</span> out =
template.requestBody(<span class="code-quote">"mina:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>, <span
class="code-quote">"Hello World"</span>);
+</span><span class="code-object">Object</span> out =
template.requestBody(<span class="code-quote">"mina2:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>, <span
class="code-quote">"Hello World"</span>);
</span>
assertMockEndpointsSatisfied();
@@ -365,7 +366,7 @@ assertMockEndpointsSatisfied();
<p>Here we process the incoming data as plain String and send the response
also as plain String:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
-<pre class="code-java">from(<span class="code-quote">"mina:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>)
+<pre class="code-java">from(<span class="code-quote">"mina2:tcp:<span
class="code-comment">//127.0.0.1:8888?sync=<span
class="code-keyword">true</span>&codec=#hl7codec"</span>)
</span> .process(<span class="code-keyword">new</span> Processor() {
<span class="code-keyword">public</span> void process(Exchange
exchange) <span class="code-keyword">throws</span> Exception {
<span class="code-comment">// use plain <span
class="code-object">String</span> as message format