Claus Ibsen created CAMEL-17638:
-----------------------------------

             Summary: 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
             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)

Reply via email to