Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/jt400.html
==============================================================================
--- websites/production/camel/content/jt400.html (original)
+++ websites/production/camel/content/jt400.html Wed Jul 8 07:21:05 2015
@@ -85,117 +85,53 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="JT400-JT/400Component">JT/400
Component</h2>
-
-<p>The <strong><code>jt400</code></strong> component allows you to exchanges
messages with an AS/400 system using data queues.</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">
-<pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">
-<dependency>
+<div class="wiki-content maincontent"><h2 id="JT400-JT/400Component">JT/400
Component</h2><p>The <strong><code>jt400</code></strong> component allows you
to exchanges messages with an AS/400 system using data queues.</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>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jt400</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
-</pre>
-</div></div>
-
-<h3 id="JT400-URIformat">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/QUEUE.DTAQ[?options]
-</pre>
-</div></div>
-
-<p>To call remote program (<strong>Camel 2.7</strong>)</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/program.PGM[?options]
-</pre>
-</div></div>
-
-<p>You can append query options to the URI in the following format,
<code>?option=value&option=value&...</code></p>
-
-<h3 id="JT400-URIoptions">URI options</h3>
-
-<p>For the data queue message exchange:</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Default value </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>ccsid</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> default system
CCSID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Specifies
the CCSID to use for the connection with the AS/400 system.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>format</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>text</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Specifies the data format for sending messages <br
clear="none" class="atl-forced-newline"> valid options are: <code>text</code>
(represented by <code>String</code>) and <code>binary</c
ode> (represented by <code>byte[]</code>) </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>consumer.delay</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>500</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Delay in milliseconds between
each poll. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>consumer.initialDelay</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>1000</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Milliseconds before polling
starts. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>consumer.userFixedDelay</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>true</code> to use fixed delay
between polls, otherwise fixed rate is used. See <a shape="rect"
class="external-link" href="http://ja
va.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
rel="nofollow">ScheduledExecutorService</a> in JDK for details.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>guiAvailable</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong> Specifies
whether AS/400 prompting is enabled in the environment running Camel.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>keyed</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Whether to
use keyed or non-keyed data queues. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>searchKey</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td><td
colspa
n="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Search
key for keyed data queues. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>searchType</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>EQ</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong> Search type
which can be a value of <code>EQ</code>, <code>NE</code>, <code>LT</code>,
<code>LE</code>, <code>GT</code>, or <code>GE</code>. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>connectionPool</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>AS400ConnectionPool</code> instance </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <strong>Camel 2.10:</strong> Reference to an
com.ibm.as400.access.AS400ConnectionPool instance in the Registry. This is used
for obtaining connections to the AS/400 system. The look up notation ('#'
character) should be u
sed. </p></td></tr></tbody></table></div>
-</div>
-
-<p>For the remote program call (<strong>Camel 2.7</strong>)</p>
-<div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Default value </p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>outputFieldsIdx</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Specifies which fields
(program parameters) are output parameters. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>fieldsLength</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Specifies the fields (program parameters)
length as in the AS/400 program definition. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>format</code> </p></td><td
colspan="1"
rowspan="1" class="confluenceTd"><p> <code>text</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.10:</strong>
Specifies the data format for sending messages <br clear="none"
class="atl-forced-newline"> valid options are: <code>text</code> (represented
by <code>String</code>) and <code>binary</code> (represented by
<code>byte[]</code>) </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>guiAvailable</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel 2.8:</strong>
Specifies whether AS/400 prompting is enabled in the environment running Camel.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>connectionPool</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>AS400ConnectionPool</code> instance </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Ca
mel 2.10:</strong> Reference to an com.ibm.as400.access.AS400ConnectionPool
instance in the Registry. This is used for obtaining connections to the AS/400
system. The look up notation ('#' character) should be used.
</p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="JT400-Usage">Usage</h3>
-<p>When configured as a consumer endpoint, the endpoint will poll a data queue
on a remote system. For every entry on the data queue, a new
<code>Exchange</code> is sent with the entry's data in the <em>In</em>
message's body, formatted either as a <code>String</code> or a
<code>byte[]</code>, depending on the format. For a provider endpoint, the
<em>In</em> message body contents will be put on the data queue as either raw
bytes or text.</p>
-
-<h3 id="JT400-Connectionpool">Connection pool</h3>
-<p><strong>Available as of Camel 2.10</strong></p>
-
-<p>Connection pooling is in use from Camel 2.10 onwards. You can explicit
configure a connection pool on the Jt400Component, or as an uri option on the
endpoint.</p>
-
-<h4 id="JT400-Remoteprogramcall(Camel2.7)">Remote program call (<strong>Camel
2.7</strong>)</h4>
-
-<p>This endpoint expects the input to be either a String array or byte[] array
(depending on format) and handles all the CCSID handling through the native
jt400 library mechanisms. A parameter can be <em>omitted</em> by passing null
as the value in its position (the remote program has to support it). After the
program execution the endpoint returns either a String array or byte[] array
with the values as they were returned by the program (the input only parameters
will contain the same data as the beginning of the invocation)<br clear="none">
-This endpoint does not implement a provider endpoint!</p>
-
-<h3 id="JT400-Example">Example</h3>
-<p>In the snippet below, the data for an exchange sent to the
<code>direct:george</code> endpoint will be put in the data queue
<code>PENNYLANE</code> in library <code>BEATLES</code> on a system named
<code>LIVERPOOL</code>. <br clear="none" class="atl-forced-newline">
-Another user connects to the same data queue to receive the information from
the data queue and forward it to the <code>mock:ringo</code> endpoint.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-public class Jt400RouteBuilder extends RouteBuilder {
+]]></script>
+</div></div><h3 id="JT400-URIformat">URI format</h3><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/QUEUE.DTAQ[?options]
+]]></script>
+</div></div><p>To call remote program (<strong>Camel 2.7</strong>)</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[jt400://user:password@system/QSYS.LIB/LIBRARY.LIB/program.PGM[?options]
+]]></script>
+</div></div><p>You can append query options to the URI in the following
format, <code>?option=value&option=value&...</code></p><h3
id="JT400-URIoptions">URI options</h3><p>For the data queue message
exchange:</p><div class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>ccsid</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>default system CCSID</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the CCSID to use for
the connection with the AS/400 system.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>format</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>text</code></p></td>
<td colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the data format
for sending messages <br clear="none" class="atl-forced-newline"> valid options
are: <code>text</code> (represented by <code>String</code>) and
<code>binary</code> (represented by <code>byte[]</code>)</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.delay</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>500</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Delay in milliseconds between each
poll.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.initialDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>1000</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Milliseconds before polling
starts.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>consumer.userFixedDelay</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
><code>false</code></p></td><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>true</code> to use fixed delay between polls,
>otherwise fixed rate is used. See <a shape="rect" class="external-link"
>href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html"
> rel="nofollow">ScheduledExecutorService</a> in JDK for
>details.</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>guiAvailable</code></p></td><td colspan="1"
>rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong>
>Specifies whether AS/400 prompting is enabled in the environment running
>Camel.</p></td></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>keyed</code></p></td><td colspan="1"
>rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong>
>Whether to use keyed or non-keyed
data queues.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>searchKey</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>null</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Search key for
keyed data queues.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>searchType</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>EQ</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><strong>Camel 2.10:</strong> Search type
which can be a value of <code>EQ</code>, <code>NE</code>, <code>LT</code>,
<code>LE</code>, <code>GT</code>, or <code>GE</code>.</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>connectionPool</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>AS400ConnectionPool</code>
instance</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.10:</strong> Ref
erence to an com.ibm.as400.access.AS400ConnectionPool instance in the
Registry. This is used for obtaining connections to the AS/400 system. The look
up notation ('#' character) should be used.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><code>secured</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><code>false</code></td><td colspan="1"
rowspan="1" class="confluenceTd"><strong>Camel 2.16:</strong> Whether to use
SSL connections to the AS/400</td></tr></tbody></table></div></div><p>For the
remote program call (<strong>Camel 2.7</strong>)</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Default value</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>outputFieldsIdx</code></p></td><td
cols
pan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Specifies which fields (program parameters)
are output parameters.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>fieldsLength</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Specifies the fields (program parameters) length as in
the AS/400 program definition.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>format</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>text</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.10:</strong> Specifies the data format
for sending messages <br clear="none" class="atl-forced-newline"> valid options
are: <code>text</code> (represented by <code>String</code>) and
<code>binary</code> (represented by <code>byte[]</code>)</p></td></tr><tr><td
colspan
="1" rowspan="1" class="confluenceTd"><p><code>guiAvailable</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.8:</strong>
Specifies whether AS/400 prompting is enabled in the environment running
Camel.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>connectionPool</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>AS400ConnectionPool</code>
instance</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><strong>Camel 2.10:</strong> Reference to an
com.ibm.as400.access.AS400ConnectionPool instance in the Registry. This is used
for obtaining connections to the AS/400 system. The look up notation ('#'
character) should be used.</p></td></tr></tbody></table></div></div><h3
id="JT400-Usage">Usage</h3><p>When configured as a consumer endpoint, the
endpoint will poll a data queue on a remote system. For every entry on the data
queue, a new <code>Exchange</code> is sent with the entry's data in the
<em>In</em> message's body, formatted either as a <code>String</code> or a
<code>byte[]</code>, depending on the format. For a provider endpoint, the
<em>In</em> message body contents will be put on the data queue as either raw
bytes or text.</p><h3 id="JT400-Connectionpool">Connection
pool</h3><p><strong>Available as of Camel 2.10</strong></p><p>Connection
pooling is in use from Camel 2.10 onwards. You can explicit configure a
connection pool on the Jt400Component, or as an uri option on the
endpoint.</p><h4 id="JT400-Remoteprogramcall(Camel2.7)">Remote program call
(<strong>Camel 2.7</strong>)</h4><p>This endpoint expects the input to be
either a String array or byte[] array (depending on format) and handles all the
CCSID handling through the native jt400 library mechanisms. A parameter can be
<em>omitted</em> by passing null as the value in its position (the remote
program has to support it). After the progr
am execution the endpoint returns either a String array or byte[] array with
the values as they were returned by the program (the input only parameters will
contain the same data as the beginning of the invocation)<br clear="none"> This
endpoint does not implement a provider endpoint!</p><h3
id="JT400-Example">Example</h3><p>In the snippet below, the data for an
exchange sent to the <code>direct:george</code> endpoint will be put in the
data queue <code>PENNYLANE</code> in library <code>BEATLES</code> on a system
named <code>LIVERPOOL</code>. <br clear="none" class="atl-forced-newline">
Another user connects to the same data queue to receive the information from
the data queue and forward it to the <code>mock:ringo</code> endpoint.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[public class Jt400RouteBuilder extends
RouteBuilder {
@Override
public void configure() throws Exception {
-
from("direct:george").to("jt400://GEORGE:EGROEG@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ");
-
from("jt400://RINGO:OGNIR@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ").to("mock:ringo");
+
from("direct:george").to("jt400://GEORGE:EGROEG@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ");
+
from("jt400://RINGO:OGNIR@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ").to("mock:ringo");
}
}
-</pre>
-</div></div>
-
-<h4 id="JT400-Remoteprogramcallexample(Camel2.7)">Remote program call example
(<strong>Camel 2.7</strong>)</h4>
-
-<p>In the snippet below, the data Exchange sent to the direct:work endpoint
will contain three string that will be used as the arguments for the program
“compute” in the library “assets”. This program will
write the output values in the 2nd and 3rd parameters. All the parameters will
be sent to the direct:play endpoint.</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-public class Jt400RouteBuilder extends RouteBuilder {
+]]></script>
+</div></div><h4 id="JT400-Remoteprogramcallexample(Camel2.7)">Remote program
call example (<strong>Camel 2.7</strong>)</h4><p>In the snippet below, the data
Exchange sent to the direct:work endpoint will contain three string that will
be used as the arguments for the program “compute” in the library
“assets”. This program will write the output values in the 2nd and
3rd parameters. All the parameters will be sent to the direct:play
endpoint.</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[public class Jt400RouteBuilder extends
RouteBuilder {
@Override
public void configure() throws Exception {
-
from("direct:work").to("jt400://GRUPO:ATWORK@server/QSYS.LIB/assets.LIB/compute.PGM?fieldsLength=10,10,512&ouputFieldsIdx=2,3").to(“direct:play”);
+
from("direct:work").to("jt400://GRUPO:ATWORK@server/QSYS.LIB/assets.LIB/compute.PGM?fieldsLength=10,10,512&ouputFieldsIdx=2,3").to(âdirect:playâ);
}
}
-</pre>
-</div></div>
-
-<h4 id="JT400-Writingtokeyeddataqueues">Writing to keyed data queues</h4>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-from("jms:queue:input")
-.to("jt400://username:password@system/lib.lib/MSGINDQ.DTAQ?keyed=true");
-</pre>
-</div></div>
-
-<h4 id="JT400-Readingfromkeyeddataqueues">Reading from keyed data queues</h4>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default"
style="font-size:12px;">
-from("jt400://username:password@system/lib.lib/MSGOUTDQ.DTAQ?keyed=true&searchKey=MYKEY&searchType=GE")
-.to("jms:queue:output");
-</pre>
-</div></div>
-
-<h3 id="JT400-SeeAlso">See Also</h3>
+]]></script>
+</div></div><h4 id="JT400-Writingtokeyeddataqueues">Writing to keyed data
queues</h4><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("jms:queue:input")
+.to("jt400://username:password@system/lib.lib/MSGINDQ.DTAQ?keyed=true");
+]]></script>
+</div></div><h4 id="JT400-Readingfromkeyeddataqueues">Reading from keyed data
queues</h4><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[from("jt400://username:password@system/lib.lib/MSGOUTDQ.DTAQ?keyed=true&searchKey=MYKEY&searchType=GE")
+.to("jms:queue:output");
+]]></script>
+</div></div><p></p><h3 id="JT400-SeeAlso">See Also</h3>
<ul><li><a shape="rect" href="configuring-camel.html">Configuring
Camel</a></li><li><a shape="rect"
href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li></ul></div>
</td>
<td valign="top">
<div class="navigation">
<div class="navigation_top">
<!-- NavigationBar -->
-<div class="navigation_bottom" id="navigation_bottom"><h3
id="Navigation-Overviewhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49132"><a
shape="rect" href="overview.html">Overview</a></h3><ul
class="alternate"><li><a shape="rect" href="index.html">Home</a></li><li><a
shape="rect" href="download.html">Download</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li><li><a shape="rect"
href="faq.html">FAQ</a></li></ul><h3
id="Navigation-Documentationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49534"><a
shape="rect" href="documentation.html">Documentation</a></h3><ul
class="alternate"><li><a shape="rect" href="user-guide.html">User
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a
shape="rect" href="books.html">Books</a></li><li><a shape="rect"
href="tutorials.html">Tutorials</a></li><li><a shape="rect"
href="examples.html">Examples</a></li><li><a shape="rect"
href="cookbook.html">Cookbook</a></li>
<li><a shape="rect" href="architecture.html">Architecture</a></li><li><a
shape="rect" href="enterprise-integration-patterns.html">Enterprise Integration
Patterns</a></li><li><a shape="rect" href="dsl.html">DSL</a></li><li><a
shape="rect" href="components.html">Components</a></li><li><a shape="rect"
href="data-format.html">Data Format</a></li><li><a shape="rect"
href="languages.html">Languages</a></li><li><a shape="rect"
href="security.html">Security</a></li><li><a shape="rect"
href="security-advisories.html">Security Advisories</a></li></ul><h3
id="Navigation-Search">Search</h3><form
enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box"
action="http://www.google.com/cse">
+<div class="navigation_bottom" id="navigation_bottom"><h3
id="Navigation-Overview"><a shape="rect"
href="overview.html">Overview</a></h3><ul class="alternate"><li><a shape="rect"
href="index.html">Home</a></li><li><a shape="rect"
href="download.html">Download</a></li><li><a shape="rect"
href="getting-started.html">Getting Started</a></li><li><a shape="rect"
href="faq.html">FAQ</a></li></ul><h3 id="Navigation-Documentation"><a
shape="rect" href="documentation.html">Documentation</a></h3><ul
class="alternate"><li><a shape="rect" href="user-guide.html">User
Guide</a></li><li><a shape="rect" href="manual.html">Manual</a></li><li><a
shape="rect" href="books.html">Books</a></li><li><a shape="rect"
href="tutorials.html">Tutorials</a></li><li><a shape="rect"
href="examples.html">Examples</a></li><li><a shape="rect"
href="cookbook.html">Cookbook</a></li><li><a shape="rect"
href="architecture.html">Architecture</a></li><li><a shape="rect"
href="enterprise-integration-patterns.html">Enterprise
Integration Patterns</a></li><li><a shape="rect"
href="dsl.html">DSL</a></li><li><a shape="rect"
href="components.html">Components</a></li><li><a shape="rect"
href="data-format.html">Data Format</a></li><li><a shape="rect"
href="languages.html">Languages</a></li><li><a shape="rect"
href="security.html">Security</a></li><li><a shape="rect"
href="security-advisories.html">Security Advisories</a></li></ul><h3
id="Navigation-Search">Search</h3><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">
@@ -203,7 +139,7 @@ from("jt400://username:password@system/l
<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
id="Navigation-Communityhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=49115"><a
shape="rect" href="community.html">Community</a></h3><ul
class="alternate"><li><a shape="rect"
href="support.html">Support</a></li><li><a shape="rect"
href="contributing.html">Contributing</a></li><li><a shape="rect"
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect"
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect"
href="user-stories.html">User Stories</a></li><li><a shape="rect"
href="news.html">News</a></li><li><a shape="rect"
href="articles.html">Articles</a></li><li><a shape="rect"
href="site.html">Site</a></li><li><a shape="rect"
href="team.html">Team</a></li><li><a shape="rect" class="external-link"
href="http://camel-extra.googlecode.com/" rel="nofollow">Camel
Extra</a></li></ul><h3 id="Navigation-Developershttps://cwi
ki.apache.org/confluence/pages/viewpage.action?pageId=49124"><a shape="rect"
href="developers.html">Developers</a></h3><ul class="alternate"><li><a
shape="rect" href="developers.html">Developer Guide</a></li><li><a shape="rect"
href="source.html">Source</a></li><li><a shape="rect"
href="building.html">Building</a></li><li><a shape="rect"
href="javadoc.html">JavaDoc</a></li><li><a shape="rect"
href="irc-room.html">IRC Room</a></li></ul><h3
id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul
class="alternate"><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>
+<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script><h3
id="Navigation-Community"><a shape="rect"
href="community.html">Community</a></h3><ul class="alternate"><li><a
shape="rect" href="support.html">Support</a></li><li><a shape="rect"
href="contributing.html">Contributing</a></li><li><a shape="rect"
href="discussion-forums.html">Discussion Forums</a></li><li><a shape="rect"
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect"
href="user-stories.html">User Stories</a></li><li><a shape="rect"
href="news.html">News</a></li><li><a shape="rect"
href="articles.html">Articles</a></li><li><a shape="rect"
href="site.html">Site</a></li><li><a shape="rect"
href="team.html">Team</a></li><li><a shape="rect" class="external-link"
href="http://camel-extra.googlecode.com/" rel="nofollow">Camel
Extra</a></li></ul><h3 id="Navigation-Developers"><a shape="rect"
href="developers.html">Developers</a></h3><ul class="alternate"
><li><a shape="rect" href="developers.html">Developer Guide</a></li><li><a
>shape="rect" href="source.html">Source</a></li><li><a shape="rect"
>href="building.html">Building</a></li><li><a shape="rect"
>href="javadoc.html">JavaDoc</a></li><li><a shape="rect"
>href="irc-room.html">IRC Room</a></li></ul><h3
>id="Navigation-ApacheSoftwareFoundation">Apache Software Foundation</h3><ul
>class="alternate"><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>