[
https://issues.apache.org/jira/browse/CAMEL-26745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-26745.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/29418 (thanks Dhairya-007),
merged to main as da36018272df for 4.24.0. The four Azure component options
with the same mismatch are left for a camel-spring-boot generator change.
_Claude Code on behalf of davsclaus_
> camel-platform-http / camel-hazelcast - enum option default value is not one
> of the declared enum values
> --------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-26745
> URL: https://issues.apache.org/jira/browse/CAMEL-26745
> Project: Camel
> Issue Type: Bug
> Components: camel-catalog, camel-hazelcast, camel-platform-http
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> Two endpoint options of type enum document a defaultValue that is not in
> their own enum list:
> * platform-http cookieSameSite: default Lax, enum STRICT, LAX, NONE
> * hazelcast-queue queueConsumerMode: default Listen, enum listen, poll
> Tooling shows a default that is not among the allowed values, and
> AbstractCamelCatalog.asEndpointUri (exact equals) drops only the documented
> spelling. Runtime behaviour does not change, as enum conversion is
> case-insensitive.
> The four Azure options with the same issue (amqpTransportType of
> azure-eventhubs and azure-servicebus, consistencyLevel of azure-cosmosdb,
> blockListType of azure-storage-blob) are left out: they are component
> options, and the camel-spring-boot generator turns their defaultValue into a
> Java constant, so changing them needs a generator change in camel-spring-boot
> first.
> GitHub PR: https://github.com/apache/camel/pull/29418 (by Dhairya-007)
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)