camel-quarkus: [Camel 3.5] Configuring api context path with property camel.context.rest-configuration.api-context-path does not work

While working on the openapi-java extension (#1281) I found a strange behaviour, so assuming we have:

camel.context.rest-configuration.component = undertow
camel.context.rest-configuration.api-context-path=/openapi.json

Then the api context path is null on the rest configuration when running in native mode but works in jvm mode. Using main short-cuts like:

camel.rest.component = undertow
camel.rest.api-context-path=/openapi.json

works in both the modes.

We should definitively use the camel.rest prefix to configure the rest bits but camel.context.rest-configuration is also supposed to work so it should there should not be differences.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

Yes fair point, and to make camel.context.rest-configuration.xxx work in native mode is fixed by CAMEL-15247 and thus Camel 3.5 onwards.