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/09/02 11:15:00 UTC
[jira] [Resolved] (CAMEL-12845) Create a full Groovy DSL
[ https://issues.apache.org/jira/browse/CAMEL-12845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12845.
---------------------------------
Resolution: Won't Fix
> Create a full Groovy DSL
> ------------------------
>
> Key: CAMEL-12845
> URL: https://issues.apache.org/jira/browse/CAMEL-12845
> Project: Camel
> Issue Type: New Feature
> Components: camel-groovy
> Reporter: Luca Burgazzoli
> Priority: Minor
> Labels: scripting
> Fix For: 3.x
>
>
> It would be nice to have a nice dsl set up a camel context in groovy similar to what it is possible with Spring or Blueprint DSL, something like
> {code:java}
> context {
> restConfiguration {
> ....
> }
> registry {
> bind 'myKey', 'myValue'
> }
> beans {
> bean('myProcessor') {
> exchange -> exchange.in.body = 'hello'
> }
> }
> from(t'imer:tick')
> .to('log:end')
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)