Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
-
None
-
Unknown
Description
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. Turned out XML DSL already supports it with beans. For YAML DSL the beans registration is too late for comelContext configuration ATM. See comments.
- beans: - name: messageHistoryFactory type: org.apache.camel.impl.engine.DefaultMessageHistoryFactory properties: copyMessage: true - route: messageHistory: true from: uri: "timer:yaml" parameters: period: "3000" steps: - to: uri: "log:test"