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-spring-boot.git
The following commit(s) were added to refs/heads/master by this push: new 8536a5a Regen 8536a5a is described below commit 8536a5ae9f4af1135f0c61c2d9e6ffbf5066e4a5 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Feb 14 15:12:49 2020 +0100 Regen --- .../resources/org/apache/camel/springboot/catalog/components/jooq.json | 1 + components-starter/camel-jooq-starter/src/main/docs/jooq-starter.adoc | 3 +-- .../camel/component/jooq/springboot/JooqComponentConfiguration.java | 3 +++ docs/modules/ROOT/pages/jooq-starter.adoc | 3 +-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jooq.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jooq.json index 21a34e0..45441cc 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jooq.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jooq.json @@ -26,6 +26,7 @@ }, "properties": { "entityType": { "kind": "path", "displayName": "Entity Type", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.Class<java.lang.Object>", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jooq.JooqConfiguration", "configurationField": "configuration", "description": "JOOQ entity class" }, + "databaseConfiguration": { "kind": "parameter", "displayName": "Database Configuration", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "org.jooq.Configuration", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.jooq.JooqConfiguration", "configurationField": "configuration", "description": "To use a specific database configuration" }, "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 [...] "consumeDelete": { "kind": "parameter", "displayName": "Consume Delete", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.jooq.JooqConfiguration", "configurationField": "configuration", "description": "Delete entity after it is consumed" }, "sendEmptyMessageWhenIdle": { "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." }, diff --git a/components-starter/camel-jooq-starter/src/main/docs/jooq-starter.adoc b/components-starter/camel-jooq-starter/src/main/docs/jooq-starter.adoc index f2aefb5..10c3e67 100644 --- a/components-starter/camel-jooq-starter/src/main/docs/jooq-starter.adoc +++ b/components-starter/camel-jooq-starter/src/main/docs/jooq-starter.adoc @@ -27,12 +27,11 @@ The component supports 9 options, which are listed below. | *camel.component.jooq.basic-property-binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | Boolean | *camel.component.jooq.bridge-error-handler* | 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 | *camel.component.jooq.configuration.consume-delete* | Delete entity after it is consumed | true | Boolean -| *camel.component.jooq.configuration.database-configuration* | | | Configuration +| *camel.component.jooq.configuration.database-configuration* | To use a specific database configuration | | Configuration | *camel.component.jooq.configuration.entity-type* | JOOQ entity class | | Class | *camel.component.jooq.configuration.operation* | Type of operation to execute on query | | JooqOperation | *camel.component.jooq.configuration.query* | To execute plain SQL query | | String | *camel.component.jooq.enabled* | Whether to enable auto configuration of the jooq component. This is enabled by default. | | Boolean | *camel.component.jooq.lazy-start-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 [...] |=== - // spring-boot-auto-configure options: END diff --git a/components-starter/camel-jooq-starter/src/main/java/org/apache/camel/component/jooq/springboot/JooqComponentConfiguration.java b/components-starter/camel-jooq-starter/src/main/java/org/apache/camel/component/jooq/springboot/JooqComponentConfiguration.java index d3c4c21..c1f801f 100644 --- a/components-starter/camel-jooq-starter/src/main/java/org/apache/camel/component/jooq/springboot/JooqComponentConfiguration.java +++ b/components-starter/camel-jooq-starter/src/main/java/org/apache/camel/component/jooq/springboot/JooqComponentConfiguration.java @@ -108,6 +108,9 @@ public class JooqComponentConfiguration * Delete entity after it is consumed */ private Boolean consumeDelete = true; + /** + * To use a specific database configuration + */ private Configuration databaseConfiguration; /** * JOOQ entity class diff --git a/docs/modules/ROOT/pages/jooq-starter.adoc b/docs/modules/ROOT/pages/jooq-starter.adoc index f2aefb5..10c3e67 100644 --- a/docs/modules/ROOT/pages/jooq-starter.adoc +++ b/docs/modules/ROOT/pages/jooq-starter.adoc @@ -27,12 +27,11 @@ The component supports 9 options, which are listed below. | *camel.component.jooq.basic-property-binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | Boolean | *camel.component.jooq.bridge-error-handler* | 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 | *camel.component.jooq.configuration.consume-delete* | Delete entity after it is consumed | true | Boolean -| *camel.component.jooq.configuration.database-configuration* | | | Configuration +| *camel.component.jooq.configuration.database-configuration* | To use a specific database configuration | | Configuration | *camel.component.jooq.configuration.entity-type* | JOOQ entity class | | Class | *camel.component.jooq.configuration.operation* | Type of operation to execute on query | | JooqOperation | *camel.component.jooq.configuration.query* | To execute plain SQL query | | String | *camel.component.jooq.enabled* | Whether to enable auto configuration of the jooq component. This is enabled by default. | | Boolean | *camel.component.jooq.lazy-start-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 [...] |=== - // spring-boot-auto-configure options: END