[ https://issues.apache.org/jira/browse/CAMEL-15624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206665#comment-17206665 ]
Alex Park commented on CAMEL-15624: ----------------------------------- This is actually source code generation problem.... I found a code where the suppressed the complex types into String in camel-spring-boot-generator-maven-plugin. SpringBootAutoConfigurationMojo.java Line: 686~700. screenshot attached. In the comment, it says spring-boot doesn't support complex types. !Suppressed_Complex_Type_to_String.png! After I removed the block of codes, and I compiled and fixed the camel-undertow-starter auto config problem successfully. And the all properties in host-options are working!!! Fantastic!! However, it's source generation tools for all camel springboot starters. When I run all unit test cases I've got another errors in other 4 modules. * camel-activemq-starter : compile error by generated codes for Long type value * camel-debezium-mongodb-starter : compile error by generated codes for Long type value * camel-reactive-streams-starter : compile error in ReactiveStreamsServiceAutoConfiguration.java * camel-wordpress-starter : compile error by conflicting class name WordpressComponentConfiguration with camel-wordpress module. I'm working on it.... > 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. > -- This message was sent by Atlassian Jira (v8.3.4#803005)