[
https://issues.apache.org/jira/browse/CAMEL-24204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-24204.
---------------------------------
Resolution: Fixed
> camel-jms - exposeListenerSession catalog metadata reports wrong default
> value (false instead of true)
> ------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-24204
> URL: https://issues.apache.org/jira/browse/CAMEL-24204
> Project: Camel
> Issue Type: Task
> Components: camel-jms
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.9, 4.18.4, 4.22.0
>
>
> The {{@UriParam}} annotation on {{JmsConfiguration.exposeListenerSession}} is
> missing {{defaultValue = "true"}}. The Java field initializer is {{true}}
> (and has been since 2007), and Spring's {{AbstractMessageListenerContainer}}
> also defaults to {{true}}, but the generated catalog metadata ({{jms.json}})
> reports {{"defaultValue": false}}.
> This causes the Camel documentation website and any tooling reading the
> catalog JSON to show the wrong default value.
> *Fix:* Add {{defaultValue = "true"}} to the {{@UriParam}} annotation at
> {{JmsConfiguration.java:140}}, matching the pattern used by all other
> {{true}}-default booleans in the same class (e.g., {{autoStartup}},
> {{deliveryPersistent}}, {{mapJmsMessage}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)