[
https://issues.apache.org/jira/browse/CAMEL-17293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502793#comment-17502793
]
Claus Ibsen commented on CAMEL-17293:
-------------------------------------
{code}
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: trait-example.yaml
spec:
traits:
camel:
configuration:
properties:
- camel.component.seda.queueSize = 1
- camel.component.seda.defaultPollTimeout = 5000
environment:
configuration:
vars:
- TEST_VARIABLE = HELLO_WORLD_
logging:
configuration:
json: true
level: DEBUG
flows:
- route:
id: route1
from:
uri: timer:demo
parameters:
repeatCount: 10
steps:
- setBody:
simple: '{{TEST_VARIABLE}}'
- log:
message: ${body}
loggingLevel: INFO
- to: seda:seda1
- route:
id: route2
from:
uri: seda:seda1
parameters:
size: 1
steps:
- log:
message: ${body}
loggingLevel: INFO
{code}
> camel-jbang: Add support for Integration configuration
> ------------------------------------------------------
>
> Key: CAMEL-17293
> URL: https://issues.apache.org/jira/browse/CAMEL-17293
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Marat Gubaidullin
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
>
> It would be great if camel-jang supports configuration in Integration CRD, ex:
> {code:java}
> apiVersion: camel.apache.org/v1
> kind: Integration
> metadata:
> name: hello-world
> spec:
> configuration:
> - type: property
> value: 'camel.component.jdbc.dataSource.serverName=iot-psql\:5432'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)