Camel REST DSL json deserialization

2021-10-13 Thread Steve973
Hello. I was wondering if it is possible to deserialize subclasses in the REST DSL, either with the JSON binding method, or with JSON unmarshaling. I have an interface, and messages that are posted to an endpoint should all deserialize/unmarshal to implementations of this interface. Then, I would

Camel Spring Boot Project in Intellij IDEA and super slow IDE performance

2021-10-13 Thread Steve973
Do many of you use Intellij IDEA for working on camel-spring-boot? It takes about 5 minutes for my IDE to load with this project active, and my machine is far from slow. What do you all recommend? I have the memory set to a maximum of 6G, so I don't think it's a matter of the memory. Thanks, St

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-13 Thread Steve973
Hi, Claus. I am assuming that you made your modifications, and then added them to a test project (locally, not in the repo) and brought in the springdoc ui dependency into that? I am asking because I don't see it in the branch that you pushed for this ticket. Thanks, Steve On Sun, Oct 10, 2021

Re: Camel Spring Boot Project in Intellij IDEA and super slow IDE performance

2021-10-13 Thread ski n
Hi Steve, I think you are right, the issue is probably not memory/CPU related. For example, I work every day with IntelliJ (Camel/Spring projects) and haven't experienced the same issue (My IntelliJ has around 1,5 G memory and starts in 15 seconds). You probably need to check the version of Intel

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-13 Thread Claus Ibsen
On Wed, Oct 13, 2021 at 8:05 PM Steve973 wrote: > > Hi, Claus. I am assuming that you made your modifications, and then added > them to a test project (locally, not in the repo) and brought in the > springdoc ui dependency into that? I am asking because I don't see it in > the branch that you pu

Re: Camel Spring Boot Project in Intellij IDEA and super slow IDE performance

2021-10-13 Thread Claus Ibsen
Hi You dont load the entire project. I launch IDEA from terminal with idea . Or idea pom.xml For the latter, IDEA opens only what I need to work on. For SB then it can be the core folder to work on all core modules, or for a starter you can open only the one you need. Though I have a

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-13 Thread Steve973
Ok, that makes sense. Another thing that I am curious about is the fact that using create-starter wants there to be a camel-springdoc library that the camel-springdoc-starter configures. When I try to create a starter module manually, and without that nonexistent library, it won't build for me.

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-13 Thread Claus Ibsen
Hi You do not need to use the create-starter script as it is as you say for when there is an existing camel component that it based upon. You can create a new directory manually, thought you then need to add it manually to the pom.xml file. But that can be later, at first you can create the direc