Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jt400-component.adoc #13620

Merged
merged 1 commit into from Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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