This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new b059c35c Regen b059c35c is described below commit b059c35cb294dc699dd57d6bcbfc3bc3843ef93f Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jun 22 06:17:08 2020 +0200 Regen --- .../org/apache/camel/catalog/components/jt400.json | 16 +++--- .../apache/camel/catalog/docs/djl-component.adoc | 40 ++++++++++--- .../apache/camel/catalog/docs/jt400-component.adoc | 18 +++--- .../org/apache/camel/component/jt400/jt400.json | 16 +++--- .../component/ComponentsBuilderFactory.java | 5 +- .../dsl/Jt400ComponentBuilderFactory.java | 9 +-- .../src/generated/resources/metadata.json | 2 +- .../builder/endpoint/StaticEndpointBuilders.java | 22 ++++---- .../endpoint/dsl/Jt400EndpointBuilderFactory.java | 66 +++++++++++----------- .../modules/ROOT/pages/djl-component.adoc | 40 ++++++++++--- .../modules/ROOT/pages/jt400-component.adoc | 18 +++--- 11 files changed, 155 insertions(+), 97 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jt400.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jt400.json index b1edb66..a8d0066 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jt400.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jt400.json @@ -3,7 +3,7 @@ "kind": "component", "name": "jt400", "title": "JT400", - "description": "Exchanges messages with an AS\/400 system using data queues, message queues, or program call.", + "description": "Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS\/400 and iSeries servers.", "deprecated": false, "firstVersion": "1.5.0", "label": "messaging", @@ -27,14 +27,14 @@ "connectionPool": { "kind": "property", "displayName": "Connection Pool", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.ibm.as400.access.AS400ConnectionPool", "deprecated": false, "secret": false, "description": "Default connection pool used by the component. Note that this pool is lazily initialized. This is because in a scenario where the user always provides a pool, it would be wasteful for Camel to initialize and keep an idle pool." } }, "properties": { - "userID": { "kind": "path", "displayName": "User ID", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the ID of the AS\/400 user." }, - "password": { "kind": "path", "displayName": "Password", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the password of the AS\/400 user." }, - "systemName": { "kind": "path", "displayName": "System Name", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the name of the AS\/400 system." }, + "userID": { "kind": "path", "displayName": "User ID", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the ID of the IBM i user." }, + "password": { "kind": "path", "displayName": "Password", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the password of the IBM i user." }, + "systemName": { "kind": "path", "displayName": "System Name", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the name of the IBM i system." }, "objectPath": { "kind": "path", "displayName": "Object Path", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the fully qualified integrated file system path name of the target object of this endpoint." }, "type": { "kind": "path", "displayName": "Type", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.jt400.Jt400Type", "enum": [ "DTAQ", "PGM", "SRVPGM", "MSGQ" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether to work with data queues or remote program call" }, - "ccsid": { "kind": "parameter", "displayName": "Ccsid", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the CCSID to use for the connection with the AS\/400 system." }, + "ccsid": { "kind": "parameter", "displayName": "Ccsid", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the CCSID to use for the connection with the IBM i system." }, "format": { "kind": "parameter", "displayName": "Format", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jt400.Jt400Configuration.Format", "enum": [ "text", "binary" ], "deprecated": false, "secret": false, "defaultValue": "text", "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the data format for sending messages." }, - "guiAvailable": { "kind": "parameter", "displayName": "Gui Available", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets whether AS\/400 prompting is enabled in the environment running Camel." }, + "guiAvailable": { "kind": "parameter", "displayName": "Gui Available", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets whether IBM i prompting is enabled in the environment running Camel." }, "keyed": { "kind": "parameter", "displayName": "Keyed", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether to use keyed or non-keyed data queues." }, "searchKey": { "kind": "parameter", "displayName": "Search Key", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Search key for keyed data queues." }, "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled b [...] @@ -47,7 +47,7 @@ "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, "secret": false, "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange h [...] "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the [...] "outputFieldsIdxArray": { "kind": "parameter", "displayName": "Output Fields Idx Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies which fields (program parameters) are output parameters." }, - "outputFieldsLengthArray": { "kind": "parameter", "displayName": "Output Fields Length Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies the fields (program parameters) length as in the AS\/400 program definition." }, + "outputFieldsLengthArray": { "kind": "parameter", "displayName": "Output Fields Length Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies the fields (program parameters) length as in the IBM i program definition." }, "procedureName": { "kind": "parameter", "displayName": "Procedure Name", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Procedure name from a service program to call" }, "basicPropertyBinding": { "kind": "parameter", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" }, "synchronous": { "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)." }, @@ -65,6 +65,6 @@ "startScheduler": { "kind": "parameter", "displayName": "Start Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "description": "Whether the scheduler should be auto started." }, "timeUnit": { "kind": "parameter", "displayName": "Time Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [ "NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS", "DAYS" ], "deprecated": false, "secret": false, "defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and delay options." }, "useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details." }, - "secured": { "kind": "parameter", "displayName": "Secured", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether connections to AS\/400 are secured with SSL." } + "secured": { "kind": "parameter", "displayName": "Secured", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether connections to IBM i are secured with SSL." } } } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc index 7a5f461..118f63b 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/djl-component.adoc @@ -120,7 +120,7 @@ You can pull the MXNet engine from the central Maven repository by including the <dependency> <groupId>ai.djl.mxnet</groupId> <artifactId>mxnet-engine</artifactId> - <version>0.4.0</version> + <version>x.x.x</version> <scope>runtime</scope> </dependency> ---- @@ -133,7 +133,7 @@ It will automatically determine the appropriate jars for your system based on th <dependency> <groupId>ai.djl.mxnet</groupId> <artifactId>mxnet-native-auto</artifactId> - <version>1.6.0</version> + <version>1.7.0-a</version> <scope>runtime</scope> </dependency> ---- @@ -147,9 +147,9 @@ You can pull the PyTorch engine from the central Maven repository by including t [source,xml] ---- <dependency> - <groupId>ai.djl.mxnet</groupId> + <groupId>ai.djl.pytorch</groupId> <artifactId>pytorch-engine</artifactId> - <version>0.4.0</version> + <version>x.x.x</version> <scope>runtime</scope> </dependency> ---- @@ -160,9 +160,9 @@ It will automatically determine the appropriate jars for your system based on th [source,xml] ---- <dependency> - <groupId>ai.djl.mxnet</groupId> + <groupId>ai.djl.pytorch</groupId> <artifactId>pytorch-native-auto</artifactId> - <version>1.4.0</version> + <version>1.5.0</version> <scope>runtime</scope> </dependency> ---- @@ -171,7 +171,33 @@ More information about https://github.com/awslabs/djl/blob/master/pytorch/pytorc === Tensorflow engine -Right now, the TensorFlow Engine is still experimental. +You can pull the Tensorflow engine from the central Maven repository by including the following dependency: + +[source,xml] +---- +<dependency> + <groupId>ai.djl.tensorflow</groupId> + <artifactId>tensorflow-engine</artifactId> + <version>x.x.x</version> + <scope>runtime</scope> +</dependency> +---- + +DJL offers an automatic option that will download the jars the first time you run DJL. +It will automatically determine the appropriate jars for your system based on the platform and GPU support. + +[source,xml] +---- + <dependency> + <groupId>ai.djl.tensorflow</groupId> + <artifactId>tensorflow-native-auto</artifactId> + <version>2.1.0</version> + <scope>runtime</scope> + </dependency> +---- + +More information about https://github.com/awslabs/djl/tree/master/tensorflow#installation[Tensorflow engine installation] + == Examples diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jt400-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jt400-component.adoc index e803b02..a87d234 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jt400-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jt400-component.adoc @@ -2,7 +2,7 @@ = JT400 Component :docTitle: JT400 :artifactId: camel-jt400 -:description: Exchanges messages with an AS/400 system using data queues, message queues, or program call. +:description: Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS/400 and iSeries servers. :since: 1.5 :supportLevel: Stable :component-header: Both producer and consumer are supported @@ -11,7 +11,7 @@ *{component-header}* -The JT400 component allows you to exchanges messages with an AS/400 +The JT400 component allows you to exchanges messages with an IBM i system using data queues. Maven users will need to add the following dependency to their `pom.xml` @@ -86,9 +86,9 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *userID* | *Required* Returns the ID of the AS/400 user. | | String -| *password* | *Required* Returns the password of the AS/400 user. | | String -| *systemName* | *Required* Returns the name of the AS/400 system. | | String +| *userID* | *Required* Returns the ID of the IBM i user. | | String +| *password* | *Required* Returns the password of the IBM i user. | | String +| *systemName* | *Required* Returns the name of the IBM i system. | | String | *objectPath* | *Required* Returns the fully qualified integrated file system path name of the target object of this endpoint. | | String | *type* | *Required* Whether to work with data queues or remote program call. The value can be one of: DTAQ, PGM, SRVPGM, MSGQ | | Jt400Type |=== @@ -100,9 +100,9 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *ccsid* (common) | Sets the CCSID to use for the connection with the AS/400 system. | | int +| *ccsid* (common) | Sets the CCSID to use for the connection with the IBM i system. | | int | *format* (common) | Sets the data format for sending messages. The value can be one of: text, binary | text | Format -| *guiAvailable* (common) | Sets whether AS/400 prompting is enabled in the environment running Camel. | false | boolean +| *guiAvailable* (common) | Sets whether IBM i prompting is enabled in the environment running Camel. | false | boolean | *keyed* (common) | Whether to use keyed or non-keyed data queues. | false | boolean | *searchKey* (common) | Search key for keyed data queues. | | String | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean @@ -115,7 +115,7 @@ with the following path and query parameters: | *pollStrategy* (consumer) | A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel. | | PollingConsumerPollStrategy | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] | *outputFieldsIdxArray* (producer) | Specifies which fields (program parameters) are output parameters. | | Integer[] -| *outputFieldsLengthArray* (producer) | Specifies the fields (program parameters) length as in the AS/400 program definition. | | Integer[] +| *outputFieldsLengthArray* (producer) | Specifies the fields (program parameters) length as in the IBM i program definition. | | Integer[] | *procedureName* (producer) | Procedure name from a service program to call | | String | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean @@ -133,7 +133,7 @@ with the following path and query parameters: | *startScheduler* (scheduler) | Whether the scheduler should be auto started. | true | boolean | *timeUnit* (scheduler) | Time unit for initialDelay and delay options. The value can be one of: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS | MILLISECONDS | TimeUnit | *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | true | boolean -| *secured* (security) | Whether connections to AS/400 are secured with SSL. | false | boolean +| *secured* (security) | Whether connections to IBM i are secured with SSL. | false | boolean |=== // endpoint options: END diff --git a/components/camel-jt400/src/generated/resources/org/apache/camel/component/jt400/jt400.json b/components/camel-jt400/src/generated/resources/org/apache/camel/component/jt400/jt400.json index b1edb66..a8d0066 100644 --- a/components/camel-jt400/src/generated/resources/org/apache/camel/component/jt400/jt400.json +++ b/components/camel-jt400/src/generated/resources/org/apache/camel/component/jt400/jt400.json @@ -3,7 +3,7 @@ "kind": "component", "name": "jt400", "title": "JT400", - "description": "Exchanges messages with an AS\/400 system using data queues, message queues, or program call.", + "description": "Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS\/400 and iSeries servers.", "deprecated": false, "firstVersion": "1.5.0", "label": "messaging", @@ -27,14 +27,14 @@ "connectionPool": { "kind": "property", "displayName": "Connection Pool", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.ibm.as400.access.AS400ConnectionPool", "deprecated": false, "secret": false, "description": "Default connection pool used by the component. Note that this pool is lazily initialized. This is because in a scenario where the user always provides a pool, it would be wasteful for Camel to initialize and keep an idle pool." } }, "properties": { - "userID": { "kind": "path", "displayName": "User ID", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the ID of the AS\/400 user." }, - "password": { "kind": "path", "displayName": "Password", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the password of the AS\/400 user." }, - "systemName": { "kind": "path", "displayName": "System Name", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the name of the AS\/400 system." }, + "userID": { "kind": "path", "displayName": "User ID", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the ID of the IBM i user." }, + "password": { "kind": "path", "displayName": "Password", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": true, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the password of the IBM i user." }, + "systemName": { "kind": "path", "displayName": "System Name", "group": "security", "label": "security", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the name of the IBM i system." }, "objectPath": { "kind": "path", "displayName": "Object Path", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Returns the fully qualified integrated file system path name of the target object of this endpoint." }, "type": { "kind": "path", "displayName": "Type", "group": "common", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.jt400.Jt400Type", "enum": [ "DTAQ", "PGM", "SRVPGM", "MSGQ" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether to work with data queues or remote program call" }, - "ccsid": { "kind": "parameter", "displayName": "Ccsid", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the CCSID to use for the connection with the AS\/400 system." }, + "ccsid": { "kind": "parameter", "displayName": "Ccsid", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the CCSID to use for the connection with the IBM i system." }, "format": { "kind": "parameter", "displayName": "Format", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jt400.Jt400Configuration.Format", "enum": [ "text", "binary" ], "deprecated": false, "secret": false, "defaultValue": "text", "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets the data format for sending messages." }, - "guiAvailable": { "kind": "parameter", "displayName": "Gui Available", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets whether AS\/400 prompting is enabled in the environment running Camel." }, + "guiAvailable": { "kind": "parameter", "displayName": "Gui Available", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Sets whether IBM i prompting is enabled in the environment running Camel." }, "keyed": { "kind": "parameter", "displayName": "Keyed", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether to use keyed or non-keyed data queues." }, "searchKey": { "kind": "parameter", "displayName": "Search Key", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Search key for keyed data queues." }, "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled b [...] @@ -47,7 +47,7 @@ "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, "secret": false, "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange h [...] "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the [...] "outputFieldsIdxArray": { "kind": "parameter", "displayName": "Output Fields Idx Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies which fields (program parameters) are output parameters." }, - "outputFieldsLengthArray": { "kind": "parameter", "displayName": "Output Fields Length Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies the fields (program parameters) length as in the AS\/400 program definition." }, + "outputFieldsLengthArray": { "kind": "parameter", "displayName": "Output Fields Length Array", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.lang.Integer[]", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Specifies the fields (program parameters) length as in the IBM i program definition." }, "procedureName": { "kind": "parameter", "displayName": "Procedure Name", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Procedure name from a service program to call" }, "basicPropertyBinding": { "kind": "parameter", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" }, "synchronous": { "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)." }, @@ -65,6 +65,6 @@ "startScheduler": { "kind": "parameter", "displayName": "Start Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "description": "Whether the scheduler should be auto started." }, "timeUnit": { "kind": "parameter", "displayName": "Time Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [ "NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS", "DAYS" ], "deprecated": false, "secret": false, "defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and delay options." }, "useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details." }, - "secured": { "kind": "parameter", "displayName": "Secured", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether connections to AS\/400 are secured with SSL." } + "secured": { "kind": "parameter", "displayName": "Secured", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jt400.Jt400Configuration", "configurationField": "configuration", "description": "Whether connections to IBM i are secured with SSL." } } } diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java index 4f600ae..6ec6bfa 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java @@ -2225,8 +2225,9 @@ public interface ComponentsBuilderFactory { } /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and iSeries + * servers. * * Category: messaging * Since: 1.5 diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Jt400ComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Jt400ComponentBuilderFactory.java index 8bcb038..1663351 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Jt400ComponentBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Jt400ComponentBuilderFactory.java @@ -23,8 +23,8 @@ import org.apache.camel.builder.component.ComponentBuilder; import org.apache.camel.component.jt400.Jt400Component; /** - * Exchanges messages with an AS/400 system using data queues, message queues, - * or program call. + * Exchanges messages with an IBM i system using data queues, message queues, or + * program call. IBM i is the replacement for AS/400 and iSeries servers. * * Generated by camel-package-maven-plugin - do not edit this file! */ @@ -33,8 +33,9 @@ public interface Jt400ComponentBuilderFactory { /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and iSeries + * servers. * * Category: messaging * Since: 1.5 diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json index 7cefad9..b69808e 100644 --- a/core/camel-componentdsl/src/generated/resources/metadata.json +++ b/core/camel-componentdsl/src/generated/resources/metadata.json @@ -4145,7 +4145,7 @@ "kind": "component", "name": "jt400", "title": "JT400", - "description": "Exchanges messages with an AS\/400 system using data queues, message queues, or program call.", + "description": "Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS\/400 and iSeries servers.", "deprecated": false, "firstVersion": "1.5.0", "label": "messaging", diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index a8370d4..61d74d1 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -8482,8 +8482,9 @@ public class StaticEndpointBuilders { } /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and iSeries + * servers. * * Category: messaging * Since: 1.5 @@ -8492,13 +8493,13 @@ public class StaticEndpointBuilders { * Syntax: <code>jt400:userID:password/systemName/objectPath.type</code> * * Path parameter: userID (required) - * Returns the ID of the AS/400 user. + * Returns the ID of the IBM i user. * * Path parameter: password (required) - * Returns the password of the AS/400 user. + * Returns the password of the IBM i user. * * Path parameter: systemName (required) - * Returns the name of the AS/400 system. + * Returns the name of the IBM i system. * * Path parameter: objectPath (required) * Returns the fully qualified integrated file system path name of the @@ -8516,8 +8517,9 @@ public class StaticEndpointBuilders { } /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and iSeries + * servers. * * Category: messaging * Since: 1.5 @@ -8526,13 +8528,13 @@ public class StaticEndpointBuilders { * Syntax: <code>jt400:userID:password/systemName/objectPath.type</code> * * Path parameter: userID (required) - * Returns the ID of the AS/400 user. + * Returns the ID of the IBM i user. * * Path parameter: password (required) - * Returns the password of the AS/400 user. + * Returns the password of the IBM i user. * * Path parameter: systemName (required) - * Returns the name of the AS/400 system. + * Returns the name of the IBM i system. * * Path parameter: objectPath (required) * Returns the fully qualified integrated file system path name of the diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Jt400EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Jt400EndpointBuilderFactory.java index 57743b1..8ed158d 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Jt400EndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Jt400EndpointBuilderFactory.java @@ -29,8 +29,8 @@ import org.apache.camel.spi.ExceptionHandler; import org.apache.camel.spi.PollingConsumerPollStrategy; /** - * Exchanges messages with an AS/400 system using data queues, message queues, - * or program call. + * Exchanges messages with an IBM i system using data queues, message queues, or + * program call. IBM i is the replacement for AS/400 and iSeries servers. * * Generated by camel build tools - do NOT edit this file! */ @@ -48,7 +48,7 @@ public interface Jt400EndpointBuilderFactory { return (AdvancedJt400EndpointConsumerBuilder) this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option is a: <code>int</code> type. * @@ -59,7 +59,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option will be converted to a <code>int</code> type. * @@ -96,7 +96,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option is a: <code>boolean</code> type. @@ -109,7 +109,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option will be converted to a <code>boolean</code> type. @@ -677,7 +677,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option is a: <code>boolean</code> type. * @@ -689,7 +689,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option will be converted to a <code>boolean</code> type. * @@ -868,7 +868,7 @@ public interface Jt400EndpointBuilderFactory { return (AdvancedJt400EndpointProducerBuilder) this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option is a: <code>int</code> type. * @@ -879,7 +879,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option will be converted to a <code>int</code> type. * @@ -916,7 +916,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option is a: <code>boolean</code> type. @@ -929,7 +929,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option will be converted to a <code>boolean</code> type. @@ -1044,7 +1044,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Specifies the fields (program parameters) length as in the AS/400 + * Specifies the fields (program parameters) length as in the IBM i * program definition. * * The option is a: <code>java.lang.Integer[]</code> type. @@ -1057,7 +1057,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Specifies the fields (program parameters) length as in the AS/400 + * Specifies the fields (program parameters) length as in the IBM i * program definition. * * The option will be converted to a <code>java.lang.Integer[]</code> @@ -1082,7 +1082,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option is a: <code>boolean</code> type. * @@ -1094,7 +1094,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option will be converted to a <code>boolean</code> type. * @@ -1185,7 +1185,7 @@ public interface Jt400EndpointBuilderFactory { return (AdvancedJt400EndpointBuilder) this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option is a: <code>int</code> type. * @@ -1196,7 +1196,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets the CCSID to use for the connection with the AS/400 system. + * Sets the CCSID to use for the connection with the IBM i system. * * The option will be converted to a <code>int</code> type. * @@ -1233,7 +1233,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option is a: <code>boolean</code> type. @@ -1246,7 +1246,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Sets whether AS/400 prompting is enabled in the environment running + * Sets whether IBM i prompting is enabled in the environment running * Camel. * * The option will be converted to a <code>boolean</code> type. @@ -1294,7 +1294,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option is a: <code>boolean</code> type. * @@ -1306,7 +1306,7 @@ public interface Jt400EndpointBuilderFactory { return this; } /** - * Whether connections to AS/400 are secured with SSL. + * Whether connections to IBM i are secured with SSL. * * The option will be converted to a <code>boolean</code> type. * @@ -1421,8 +1421,9 @@ public interface Jt400EndpointBuilderFactory { public interface Jt400Builders { /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and + * iSeries servers. * * Category: messaging * Since: 1.5 @@ -1431,13 +1432,13 @@ public interface Jt400EndpointBuilderFactory { * Syntax: <code>jt400:userID:password/systemName/objectPath.type</code> * * Path parameter: userID (required) - * Returns the ID of the AS/400 user. + * Returns the ID of the IBM i user. * * Path parameter: password (required) - * Returns the password of the AS/400 user. + * Returns the password of the IBM i user. * * Path parameter: systemName (required) - * Returns the name of the AS/400 system. + * Returns the name of the IBM i system. * * Path parameter: objectPath (required) * Returns the fully qualified integrated file system path name of the @@ -1454,8 +1455,9 @@ public interface Jt400EndpointBuilderFactory { } /** * JT400 (camel-jt400) - * Exchanges messages with an AS/400 system using data queues, message - * queues, or program call. + * Exchanges messages with an IBM i system using data queues, message + * queues, or program call. IBM i is the replacement for AS/400 and + * iSeries servers. * * Category: messaging * Since: 1.5 @@ -1464,13 +1466,13 @@ public interface Jt400EndpointBuilderFactory { * Syntax: <code>jt400:userID:password/systemName/objectPath.type</code> * * Path parameter: userID (required) - * Returns the ID of the AS/400 user. + * Returns the ID of the IBM i user. * * Path parameter: password (required) - * Returns the password of the AS/400 user. + * Returns the password of the IBM i user. * * Path parameter: systemName (required) - * Returns the name of the AS/400 system. + * Returns the name of the IBM i system. * * Path parameter: objectPath (required) * Returns the fully qualified integrated file system path name of the diff --git a/docs/components/modules/ROOT/pages/djl-component.adoc b/docs/components/modules/ROOT/pages/djl-component.adoc index f1ea011..99b7771 100644 --- a/docs/components/modules/ROOT/pages/djl-component.adoc +++ b/docs/components/modules/ROOT/pages/djl-component.adoc @@ -122,7 +122,7 @@ You can pull the MXNet engine from the central Maven repository by including the <dependency> <groupId>ai.djl.mxnet</groupId> <artifactId>mxnet-engine</artifactId> - <version>0.4.0</version> + <version>x.x.x</version> <scope>runtime</scope> </dependency> ---- @@ -135,7 +135,7 @@ It will automatically determine the appropriate jars for your system based on th <dependency> <groupId>ai.djl.mxnet</groupId> <artifactId>mxnet-native-auto</artifactId> - <version>1.6.0</version> + <version>1.7.0-a</version> <scope>runtime</scope> </dependency> ---- @@ -149,9 +149,9 @@ You can pull the PyTorch engine from the central Maven repository by including t [source,xml] ---- <dependency> - <groupId>ai.djl.mxnet</groupId> + <groupId>ai.djl.pytorch</groupId> <artifactId>pytorch-engine</artifactId> - <version>0.4.0</version> + <version>x.x.x</version> <scope>runtime</scope> </dependency> ---- @@ -162,9 +162,9 @@ It will automatically determine the appropriate jars for your system based on th [source,xml] ---- <dependency> - <groupId>ai.djl.mxnet</groupId> + <groupId>ai.djl.pytorch</groupId> <artifactId>pytorch-native-auto</artifactId> - <version>1.4.0</version> + <version>1.5.0</version> <scope>runtime</scope> </dependency> ---- @@ -173,7 +173,33 @@ More information about https://github.com/awslabs/djl/blob/master/pytorch/pytorc === Tensorflow engine -Right now, the TensorFlow Engine is still experimental. +You can pull the Tensorflow engine from the central Maven repository by including the following dependency: + +[source,xml] +---- +<dependency> + <groupId>ai.djl.tensorflow</groupId> + <artifactId>tensorflow-engine</artifactId> + <version>x.x.x</version> + <scope>runtime</scope> +</dependency> +---- + +DJL offers an automatic option that will download the jars the first time you run DJL. +It will automatically determine the appropriate jars for your system based on the platform and GPU support. + +[source,xml] +---- + <dependency> + <groupId>ai.djl.tensorflow</groupId> + <artifactId>tensorflow-native-auto</artifactId> + <version>2.1.0</version> + <scope>runtime</scope> + </dependency> +---- + +More information about https://github.com/awslabs/djl/tree/master/tensorflow#installation[Tensorflow engine installation] + == Examples diff --git a/docs/components/modules/ROOT/pages/jt400-component.adoc b/docs/components/modules/ROOT/pages/jt400-component.adoc index 5272264..f9ab5e7 100644 --- a/docs/components/modules/ROOT/pages/jt400-component.adoc +++ b/docs/components/modules/ROOT/pages/jt400-component.adoc @@ -4,7 +4,7 @@ :page-source: components/camel-jt400/src/main/docs/jt400-component.adoc :docTitle: JT400 :artifactId: camel-jt400 -:description: Exchanges messages with an AS/400 system using data queues, message queues, or program call. +:description: Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS/400 and iSeries servers. :since: 1.5 :supportLevel: Stable :component-header: Both producer and consumer are supported @@ -13,7 +13,7 @@ *{component-header}* -The JT400 component allows you to exchanges messages with an AS/400 +The JT400 component allows you to exchanges messages with an IBM i system using data queues. Maven users will need to add the following dependency to their `pom.xml` @@ -88,9 +88,9 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *userID* | *Required* Returns the ID of the AS/400 user. | | String -| *password* | *Required* Returns the password of the AS/400 user. | | String -| *systemName* | *Required* Returns the name of the AS/400 system. | | String +| *userID* | *Required* Returns the ID of the IBM i user. | | String +| *password* | *Required* Returns the password of the IBM i user. | | String +| *systemName* | *Required* Returns the name of the IBM i system. | | String | *objectPath* | *Required* Returns the fully qualified integrated file system path name of the target object of this endpoint. | | String | *type* | *Required* Whether to work with data queues or remote program call. The value can be one of: DTAQ, PGM, SRVPGM, MSGQ | | Jt400Type |=== @@ -102,9 +102,9 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *ccsid* (common) | Sets the CCSID to use for the connection with the AS/400 system. | | int +| *ccsid* (common) | Sets the CCSID to use for the connection with the IBM i system. | | int | *format* (common) | Sets the data format for sending messages. The value can be one of: text, binary | text | Format -| *guiAvailable* (common) | Sets whether AS/400 prompting is enabled in the environment running Camel. | false | boolean +| *guiAvailable* (common) | Sets whether IBM i prompting is enabled in the environment running Camel. | false | boolean | *keyed* (common) | Whether to use keyed or non-keyed data queues. | false | boolean | *searchKey* (common) | Search key for keyed data queues. | | String | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean @@ -117,7 +117,7 @@ with the following path and query parameters: | *pollStrategy* (consumer) | A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel. | | PollingConsumerPollStrategy | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] | *outputFieldsIdxArray* (producer) | Specifies which fields (program parameters) are output parameters. | | Integer[] -| *outputFieldsLengthArray* (producer) | Specifies the fields (program parameters) length as in the AS/400 program definition. | | Integer[] +| *outputFieldsLengthArray* (producer) | Specifies the fields (program parameters) length as in the IBM i program definition. | | Integer[] | *procedureName* (producer) | Procedure name from a service program to call | | String | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean @@ -135,7 +135,7 @@ with the following path and query parameters: | *startScheduler* (scheduler) | Whether the scheduler should be auto started. | true | boolean | *timeUnit* (scheduler) | Time unit for initialDelay and delay options. The value can be one of: NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS | MILLISECONDS | TimeUnit | *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | true | boolean -| *secured* (security) | Whether connections to AS/400 are secured with SSL. | false | boolean +| *secured* (security) | Whether connections to IBM i are secured with SSL. | false | boolean |=== // endpoint options: END