Skip to content

Commit

Permalink
Update jt400-component.adoc (#13620)
Browse files Browse the repository at this point in the history
  • Loading branch information
llowinge committed Mar 26, 2024
1 parent 4279ded commit 9c06ee7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions components/camel-jt400/src/main/docs/jt400-component.adoc
Expand Up @@ -72,7 +72,8 @@ When configured as a data queue consumer endpoint, the endpoint will poll a data
queue on an IBM i 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

For a data queue provider endpoint, the _In_ message body contents will be put on
the data queue as either raw bytes or text.

When configured as a message queue consumer endpoint, the endpoint will poll
Expand All @@ -82,9 +83,6 @@ data is always formatted as a `String`. Note that only new messages will
be processed. That is, this endpoint will not process any existing messages
on the queue that have already been handled by another program.

For a data queue provider endpoint, the _In_ message body contents will be
put on the data queue as either raw bytes or text.

For a message queue provider endpoint, the _In_ message body contents are
presumed to be text and sent to the queue as an informational message.
Inquiry messages or messages requiring a message ID are not supported.
Expand Down Expand Up @@ -144,7 +142,7 @@ sent to the direct:play endpoint.
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");
}
}
---------------------------------------------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 9c06ee7

Please sign in to comment.