Skip to content

Commit

Permalink
Bean: Use properties instead of property with key and value - AWS DDB…
Browse files Browse the repository at this point in the history
… Sink

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed May 23, 2023
1 parent f09915b commit c6227b6
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,10 @@ spec:
type: "#class:org.apache.camel.kamelets.utils.format.DefaultDataTypeRegistry"
- name: dataTypeProcessor
type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
property:
- key: scheme
value: 'aws2-ddb'
- key: format
value: 'json'
- key: registry
value: '#bean:{{dataTypeRegistry}}'
properties:
scheme: 'aws2-ddb'
format: 'json'
registry: '#bean:{{dataTypeRegistry}}'
from:
uri: "kamelet:source"
steps:
Expand Down

0 comments on commit c6227b6

Please sign in to comment.