[ 
https://issues.apache.org/jira/browse/CAMEL-19846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766072#comment-17766072
 ] 

Tomohisa Igarashi edited comment on CAMEL-19846 at 9/17/23 11:29 AM:
---------------------------------------------------------------------

But apparently XML already supports it - 
https://github.com/apache/camel-kamelets-examples/blob/main/jbang/app-routes-spring-beans/app.xml#L20-L22

So yes, it's done with beans, but YAML DSL also supports beans. However it 
doesn't work for camelContext configurations since YAML DSL deserializer 
registers beans after those CamelContext configuration ATM.


was (Author: igarashitm):
But apparently XML already supports it - 
https://github.com/apache/camel-kamelets-examples/blob/main/jbang/app-routes-spring-beans/app.xml#L20-L22

> camel-yaml-dsl: Support setting MessageHistoryFactory.setCopyMessage(true) 
> from YAML DSL
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19846
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19846
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>    Affects Versions: 4.0.0
>            Reporter: Tomohisa Igarashi
>            Assignee: Tomohisa Igarashi
>            Priority: Major
>
> Support setting `MessageHistoryFactory.setCopyMessage(true)` from YAML DSL. 
> I'm on a case to do it from YAML DSL, but it seems other DSLs also don't yet 
> directly support it other than providing a separate property file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to