You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/26 17:49:53 UTC

(camel) branch main updated: Update jt400-component.adoc (#13620)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 9c06ee7b22e Update jt400-component.adoc (#13620)
9c06ee7b22e is described below

commit 9c06ee7b22e92f024c340f6a8c218f7690446138
Author: Lukas Lowinger <ll...@redhat.com>
AuthorDate: Tue Mar 26 18:49:46 2024 +0100

    Update jt400-component.adoc (#13620)
---
 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 9dea6b5d47a..98f27dd1575 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");
     }
 }
 ---------------------------------------------------------------------------------------------------------------------------------------------------------