[
https://issues.apache.org/jira/browse/CAMEL-15624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Park updated CAMEL-15624:
------------------------------
Description:
I'm trying to test an rest api with camel-undertow-starter v3.5.0 and want to
configure the hostOptions to control the threads referred by this,
[https://camel.apache.org/camel-spring-boot/latest/undertow-starter.html]
Here is my configuration as an example,
{code:java}
camel.component.undertow.host-options.io-threads=2
camel.component.undertow.host-options.worker-threads=5
{code}
In my STS 4.0, it complains error as java.lang.String type. (screenshot
attached)
this property actually doesn't recognised on runtime undertow component.
With some of investigation, I found a clue from the maven tooling.
Will send a PR if I could fix this.
UPDATE: I sent 2 PRs to fix this issue on /camel and /camel-spring-boot.
# camel-wordpress in camel PR should be merged in advance,
# camel-wordpress-starter in camel-spring-boot is referring the module for the
source auto generation.
was:
I'm trying to test an rest api with camel-undertow-starter v3.5.0 and want to
configure the hostOptions to control the threads referred by this,
https://camel.apache.org/camel-spring-boot/latest/undertow-starter.html
Here is my configuration as an example,
{code:java}
camel.component.undertow.host-options.io-threads=2
camel.component.undertow.host-options.worker-threads=5
{code}
In my STS 4.0, it complains error as java.lang.String type. (screenshot
attached)
this property actually doesn't recognised on runtime undertow component.
With some of investigation, I found a clue from the maven tooling.
Will send a PR if I could fix this.
> camel-undertow-starter: AutoConfiguration property type error
> -------------------------------------------------------------
>
> Key: CAMEL-15624
> URL: https://issues.apache.org/jira/browse/CAMEL-15624
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot-starters, camel-undertow, tooling
> Affects Versions: 3.5.0
> Reporter: Alex Park
> Priority: Major
> Attachments: Suppressed_Complex_Type_to_String.png,
> camel-undertow-starter-autoconfig-error.png
>
>
> I'm trying to test an rest api with camel-undertow-starter v3.5.0 and want to
> configure the hostOptions to control the threads referred by this,
> [https://camel.apache.org/camel-spring-boot/latest/undertow-starter.html]
> Here is my configuration as an example,
>
> {code:java}
> camel.component.undertow.host-options.io-threads=2
> camel.component.undertow.host-options.worker-threads=5
> {code}
> In my STS 4.0, it complains error as java.lang.String type. (screenshot
> attached)
> this property actually doesn't recognised on runtime undertow component.
> With some of investigation, I found a clue from the maven tooling.
> Will send a PR if I could fix this.
>
> UPDATE: I sent 2 PRs to fix this issue on /camel and /camel-spring-boot.
> # camel-wordpress in camel PR should be merged in advance,
> # camel-wordpress-starter in camel-spring-boot is referring the module for
> the source auto generation.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)