...
For the data queue message exchange:
Div |
---|
class | confluenceTableSmall |
---|
|
Name | Default value | Description |
---|
ccsid | default system CCSID | Specifies the CCSID to use for the connection with the AS/400 system. | format | text | Specifies the data format for sending messages valid options are: text (represented by String ) and binary (represented by byte[] ) | consumer.delay | 500 | Delay in milliseconds between each poll. | consumer.initialDelay | 1000 | Milliseconds before polling starts. | consumer.userFixedDelay | false | true to use fixed delay between polls, otherwise fixed rate is used. See ScheduledExecutorService in JDK for details. | guiAvailable | false | Camel 2.8: Specifies whether AS/400 prompting is enabled in the environment running Camel. | keyed | false | Camel 2.10: Whether to use keyed or non-keyed data queues. | searchKey | null | Camel 2.10: Search key for keyed data queues. | searchType | EQ | Camel 2.10: Search type which can be a value of EQ , NE , LT , LE , GT , or GE . | connectionPool | AS400ConnectionPool instance | Camel 2.10: Reference to an |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Name || Default value || Description ||
| {{ccsid}} | default system CCSID | Specifies the CCSID to use for the connection with the AS/400 system. |
| {{format}} | {{text}} | Specifies the data format for sending messages \\ valid options are: {{text}} (represented by {{String}}) and {{binary}} (represented by {{byte[]}}) |
| {{consumer.delay}} | {{500}} | Delay in milliseconds between each poll. |
| {{consumer.initialDelay}} | {{1000}} | Milliseconds before polling starts. |
| {{consumer.userFixedDelay}} | {{false}} | {{true}} to use fixed delay between polls, otherwise fixed rate is used. See [ScheduledExecutorService|http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html] in JDK for details. |
| {{guiAvailable}} | {{false}} | *Camel 2.8:* Specifies whether AS/400 prompting is enabled in the environment running Camel. |
| {{keyed}} | {{false}} | *Camel 2.10:* Whether to use keyed or non-keyed data queues. |
| {{searchKey}} | {{null}} | *Camel 2.10:* Search key for keyed data queues. |
| {{searchType}} | {{EQ}} | *Camel 2.10:* Search type which can be a value of {{EQ}}, {{NE}}, {{LT}}, {{LE}}, {{GT}}, or {{GE}}. |
| {{connectionPool}} | {{AS400ConnectionPool}} instance | *Camel 2.10:* Reference to an com.ibm.as400.access.AS400ConnectionPool |
|
{div} |
For the remote program call (Camel 2.7)
Div |
---|
class | confluenceTableSmall |
---|
|
Name | Default value | Description |
---|
outputFieldsIdx | | Specifies which fields (program parameters) are output parameters. | fieldsLength | | Specifies the fields (program parameters) length as in the AS/400 program definition. | format | text | Camel 2.10: Specifies the data format for sending messages valid options are: text (represented by String ) and binary (represented by byte[] ) | guiAvailable | false | Camel 2.8: Specifies whether AS/400 prompting is enabled in the environment running Camel. | connectionPool | AS400ConnectionPool instance | Camel 2.10: Reference to an |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Name || Default value || Description ||
| {{outputFieldsIdx}} | | Specifies which fields (program parameters) are output parameters. |
| {{fieldsLength}} | | Specifies the fields (program parameters) length as in the AS/400 program definition. |
| {{format}} | {{text}} | *Camel 2.10:* Specifies the data format for sending messages \\ valid options are: {{text}} (represented by {{String}}) and {{binary}} (represented by {{byte[]}}) |
| {{guiAvailable}} | {{false}} | *Camel 2.8:* Specifies whether AS/400 prompting is enabled in the environment running Camel. |
| {{connectionPool}} | {{AS400ConnectionPool}} instance | *Camel 2.10:* Reference to an com.ibm.as400.access.AS400ConnectionPool |
|
{div} |
Usage
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 Exchange
is sent with the entry's data in the In message's body, formatted either as a String
or a byte[]
, depending on the format. For a provider endpoint, the In message body contents will be put on the data queue as either raw bytes or text.
...