Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
None
-
None
-
Unknown
Description
With the introduction of local beans for route templates / kamelets. This brings to the table of allowing to use that more generic in Camel DSL.
When using XML DSL and other markup DSLs then you have use-cases where you need to define a bean for aggregation strategy, etc, and today you have to write that as java bean and refer to it by bean id.
With local bean you can then inline this and create the bean code in the XML or YAML dsl with script. Can be good for simple code (not very complex).
We can look at to add a special annotation in the model, that marks something as a local bean compliant, so we can generate this in the XML XSD, YAML DSL accordingly.
Attachments
Issue Links
- relates to
-
CAMEL-16768 camel-core - Allow to use BiFunction as AggregationStrategy
- Resolved