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/02/23 13:13:00 UTC

[jira] [Assigned] (CAMEL-17638) camel-core - EIP model options with old fashioned naming xxxRef style should be made modern style

     [ https://issues.apache.org/jira/browse/CAMEL-17638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-17638:
-----------------------------------

    Assignee: Claus Ibsen

> camel-core - EIP model options with old fashioned naming xxxRef style should be made modern style
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-17638
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17638
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> There are a few EIPs left that uses the old xxxRef style that are from Camel v1 and early days of v2 where spring xml <beans> files was ruling and attributes was xxx-ref or xxxRef style.
> Today Camel is more powerful and modern, and a -ref is no longer needed as Camel can do more, so you can eg say
> Aggregate
>   - strategy-ref: myStrategy
> ->
> Aggregate
>   - strategy: #bean:myStrategy
> Aggregate
>   - strategy: #class:com.foo.MyStrategyClass



--
This message was sent by Atlassian Jira
(v8.20.1#820001)