Re: Conditional Update to dynamodb using native camel component Java

2021-11-17 Thread Andrea Cosentino
I don't think there is a native way to specify conditionExpression in the UpdateItem producer operation, at the moment https://github.com/apache/camel/blob/608122ac13573352313d665dbaccf9fdb253e89e/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddb/UpdateItemComma

Conditional Update to dynamodb using native camel component Java

2021-11-17 Thread sagarcasual
versions used Java 13, Apache Camel 3.11.2, AWS SDK 2.17.40. Seeking help to perform conditional update to dynamodb using Apache Camel integration lib. Table Definition= PKCOL String, primary-key COL1 String COL2 String I would like to issue following SQL Equivalent statement u

DeadletterChannel ErrorHandler and Transactions

2021-11-17 Thread Michael Rambichler
Hi Team, i have to following Use Case: We use for all our routes a customized ErrorHandler: MyErrorHandlerBuilder extends DeadLetterChannelBuilder In case of .transacted routes I would like that the TransactionErrorManager kicks in and overrules our custom ErrorHandler and rollback exceptions.

Re: How to add multiple tags on rest definition

2021-11-17 Thread Claus Ibsen
Hi Try with comma separated value, eg foo,bar,cheese On Wed, Nov 17, 2021 at 10:04 AM Yang, Chao wrote: > > Hi Team, > > We need to add multiple tags to rest endpoints. > > While the .tag() method in org.apache.camel.model.rest.RestDefinition only > accepts string. > > The open api spec uses an

How to add multiple tags on rest definition

2021-11-17 Thread Yang, Chao
Hi Team, We need to add multiple tags to rest endpoints. While the .tag() method in org.apache.camel.model.rest.RestDefinition only accepts string. The open api spec uses an array for 'tag', such as ... "organisations" : { "get" : { "tags" : [ "Business", "Company"], "par