From 4a3c4fa901f185cd201baae35877458eb1d9d3ff Mon Sep 17 00:00:00 2001 From: Lukas Lowinger Date: Tue, 26 Mar 2024 15:30:24 +0100 Subject: [PATCH] Update jt400-component.adoc --- components/camel-jt400/src/main/docs/jt400-component.adoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/components/camel-jt400/src/main/docs/jt400-component.adoc b/components/camel-jt400/src/main/docs/jt400-component.adoc index 9dea6b5d47a9a..98f27dd157514 100644 --- a/components/camel-jt400/src/main/docs/jt400-component.adoc +++ b/components/camel-jt400/src/main/docs/jt400-component.adoc @@ -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 @@ -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. @@ -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"); } } ---------------------------------------------------------------------------------------------------------------------------------------------------------