Skip to content

Commit

Permalink
Cassandra Kamelets: Disable autowiring by default - CQL Sink
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <[email protected]>
  • Loading branch information
oscerd committed Nov 25, 2024
1 parent 2910eba commit 83c6765
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion kamelets/cassandra-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ spec:
- "camel:cassandraql"
- "camel:core"
template:
beans:
- name: local-sql-cassandraql-sink
type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
properties:
autowiredEnabled: "false"
from:
uri: "kamelet:source"
steps:
Expand All @@ -116,7 +121,7 @@ spec:
library: Jackson
useList: true
- to:
uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
uri: "{{local-sql-cassandraql-sink}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
parameters:
username: "{{?username}}"
password: "{{?password}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ spec:
- "camel:cassandraql"
- "camel:core"
template:
beans:
- name: local-sql-cassandraql-sink
type: "#class:org.apache.camel.component.cassandra.CassandraComponent"
properties:
autowiredEnabled: "false"
from:
uri: "kamelet:source"
steps:
Expand All @@ -116,7 +121,7 @@ spec:
library: Jackson
useList: true
- to:
uri: "cql://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
uri: "{{local-sql-cassandraql-sink}}://{{connectionHost}}:{{connectionPort}}/{{keyspace}}"
parameters:
username: "{{?username}}"
password: "{{?password}}"
Expand Down

0 comments on commit 83c6765

Please sign in to comment.