Skip to content

Commit

Permalink
Bean: Use properties instead of property with key and value - Data Ty…
Browse files Browse the repository at this point in the history
…pe Action

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed May 23, 2023
1 parent 0ea0b35 commit acb3e7c
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,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: '{{scheme}}'
- key: format
value: '{{format}}'
- key: registry
value: '#bean:{{dataTypeRegistry}}'
properties:
scheme: '{{scheme}}'
format: '{{format}}'
registry: '#bean:{{dataTypeRegistry}}'
from:
uri: "kamelet:source"
steps:
Expand Down

0 comments on commit acb3e7c

Please sign in to comment.