You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/04/01 07:20:00 UTC
[jira] [Assigned] (CAMEL-17893) camel-yaml-dsl - Remove endpoint uri inlined mode
[ https://issues.apache.org/jira/browse/CAMEL-17893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-17893:
-----------------------------------
Assignee: Claus Ibsen
> camel-yaml-dsl - Remove endpoint uri inlined mode
> -------------------------------------------------
>
> Key: CAMEL-17893
> URL: https://issues.apache.org/jira/browse/CAMEL-17893
> Project: Camel
> Issue Type: Improvement
> Components: camel-yaml-dsl
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.17.0
>
>
> Its likely to magic and also harder for tooling and whatnot to grok that if a node is not matching one of the EIPs then it fallback to a endpoint uri (as to)
> {code}
> apiVersion: camel.apache.org/v1
> kind: Integration
> metadata:
> name: myapp
> spec:
> flows:
> - from:
> uri: "timer:demo"
> parameters:
> period: 2000
> steps:
> - process:
> ref: myProcessor
> - setBody:
> expression:
> simple: "Hi ${body}"
> - process:
> ref: myProcessor
> - log: "${body}"
> - kafka: "out"
> sources:
> - content: |-
> beans {
> myProcessor = processor {
> it.in.body = 123 * 2
> }
> }
> name: mybean.groovy
> {code}
> In the route above then - kafka: out is an endpoint uri
--
This message was sent by Atlassian Jira
(v8.20.1#820001)