This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push: new 2801a57191d Regen 2801a57191d is described below commit 2801a57191d20ac33c3d594c0a263ed9a0339f8b Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Jul 30 11:48:17 2022 +0200 Regen --- .../org/apache/camel/catalog/components/jpa.json | 1 + .../component/dsl/JpaComponentBuilderFactory.java | 18 ++++++++++++++++++ .../camel-component-known-dependencies.properties | 2 -- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jpa.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jpa.json index 9772a32321f..c5b287f600c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jpa.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jpa.json @@ -27,6 +27,7 @@ "joinTransaction": { "kind": "property", "displayName": "Join Transaction", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "The camel-jpa component will join transaction by default. You can use this option to turn this off, for example if you use LOCAL_RESOURCE and join transaction doesn't work with your JPA provider. This option can also be set [...] "sharedEntityManager": { "kind": "property", "displayName": "Shared Entity Manager", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to use Spring's SharedEntityManager for the consumer\/producer. Note in most cases joinTransaction should be set to false as this is not an EXTENDED EntityManager." }, "transactionManager": { "kind": "property", "displayName": "Transaction Manager", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.springframework.transaction.PlatformTransactionManager", "deprecated": false, "autowired": false, "secret": false, "description": "To use the PlatformTransactionManager for managing transactions." }, + "transactionStrategy": { "kind": "property", "displayName": "Transaction Strategy", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jpa.TransactionStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use the TransactionStrategy for running the operations in a transaction." }, "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 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 me [...] "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 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 star [...] "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JpaComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JpaComponentBuilderFactory.java index 2507e19ffbf..af9992ab825 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JpaComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JpaComponentBuilderFactory.java @@ -138,6 +138,23 @@ public interface JpaComponentBuilderFactory { doSetProperty("transactionManager", transactionManager); return this; } + /** + * To use the TransactionStrategy for running the operations in a + * transaction. + * + * The option is a: + * <code>org.apache.camel.component.jpa.TransactionStrategy</code> type. + * + * Group: common + * + * @param transactionStrategy the value to set + * @return the dsl builder + */ + default JpaComponentBuilder transactionStrategy( + org.apache.camel.component.jpa.TransactionStrategy transactionStrategy) { + doSetProperty("transactionStrategy", transactionStrategy); + return this; + } /** * Allows for bridging the consumer to the Camel routing Error Handler, * which mean any exceptions occurred while the consumer is trying to @@ -225,6 +242,7 @@ public interface JpaComponentBuilderFactory { case "joinTransaction": ((JpaComponent) component).setJoinTransaction((boolean) value); return true; case "sharedEntityManager": ((JpaComponent) component).setSharedEntityManager((boolean) value); return true; case "transactionManager": ((JpaComponent) component).setTransactionManager((org.springframework.transaction.PlatformTransactionManager) value); return true; + case "transactionStrategy": ((JpaComponent) component).setTransactionStrategy((org.apache.camel.component.jpa.TransactionStrategy) value); return true; case "bridgeErrorHandler": ((JpaComponent) component).setBridgeErrorHandler((boolean) value); return true; case "lazyStartProducer": ((JpaComponent) component).setLazyStartProducer((boolean) value); return true; case "autowiredEnabled": ((JpaComponent) component).setAutowiredEnabled((boolean) value); return true; diff --git a/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties b/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties index ab555fe1374..1e265485d9e 100644 --- a/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties +++ b/dsl/camel-kamelet-main/src/generated/resources/camel-component-known-dependencies.properties @@ -22,7 +22,6 @@ org.apache.camel.component.ahc.AhcComponent=camel:ahc org.apache.camel.component.ahc.ws.WsComponent=camel:ahc-ws org.apache.camel.component.amqp.AMQPComponent=camel:amqp org.apache.camel.component.arangodb.ArangoDbComponent=camel:arangodb -org.apache.camel.component.aries.HyperledgerAriesComponent=camel:hyperledger-aries org.apache.camel.component.as2.AS2Component=camel:as2 org.apache.camel.component.asterisk.AsteriskComponent=camel:asterisk org.apache.camel.component.atlasmap.AtlasMapComponent=camel:atlasmap @@ -332,7 +331,6 @@ org.apache.camel.component.web3j.Web3jComponent=camel:web3j org.apache.camel.component.webhook.WebhookComponent=camel:webhook org.apache.camel.component.websocket.WebsocketComponent=camel:websocket org.apache.camel.component.weka.WekaComponent=camel:weka -org.apache.camel.component.whatsapp.WhatsAppComponent=camel:whatsapp org.apache.camel.component.wordpress.WordpressComponent=camel:wordpress org.apache.camel.component.workday.WorkdayComponent=camel:workday org.apache.camel.component.xchange.XChangeComponent=camel:xchange