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

2021-10-25 Thread Claus Ibsen
On Mon, Oct 25, 2021 at 10:53 PM Steve973 wrote: > > Claus, you can see the module here: > https://github.com/Steve973/camel-spring-boot/tree/CAMEL-17061/components-starter/camel-springdoc-starter > > Please let me know if you have any concerns or questions, etc. > This work looks good. >

Re: Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Steve973
I like the control-bus component. It is better than something like "direct" because it's more indicative of its function. I'll definitely go this route, if you'll pardon the bad pun. On Mon, Oct 25, 2021 at 4:05 PM Alexandre Gallice wrote: > I've never used that, but I wonder if you would be

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

2021-10-25 Thread Steve973
Claus, you can see the module here: https://github.com/Steve973/camel-spring-boot/tree/CAMEL-17061/components-starter/camel-springdoc-starter Please let me know if you have any concerns or questions, etc. Thanks, Steve On Fri, Oct 15, 2021 at 8:22 AM Steve973 wrote: > Hi, Claus. Thanks -- I

Re: Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Alexandre Gallice
I've never used that, but I wonder if you would be interested in a control bus: https://www.enterpriseintegrationpatterns.com/ControlBus.html https://camel.apache.org/components/3.11.x/controlbus-component.html On Mon, Oct 25, 2021 at 9:13 PM Steve973 wrote: > Hello. If I am implementing a

RE: Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Steve Huston
Hi Steve, Sure, you can do that. Your processor/component is just a Java class - you can do whatever you want. I wrote a component that encapsulated a bunch of external interactions that the "user" was not directly aware of. There are lifecycle callbacks from Camel itself that can help you do

Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Steve973
Hello. If I am implementing a new component or processor, is it possible to communicate with it for non-routing purposes? For example, can a component or processor consume from a command-and-control direct/seda/etc queue? It seems like it would be reasonable, but I would like to see if there is

Re: How Camel consumes files using multithreading

2021-10-25 Thread Francois Papon
Hi, Did you try to add .threads() to your from("sftp") route? regards, Francois On 25/10/2021 08:07, robbenp...@foxmail.com wrote: Dear all, I am using Apache Camel to handle files from SFTP. Becausethere are too many file in the same directoty, I want to use multithreading to handle

File component process files multithreaded

2021-10-25 Thread Mikael Andersson Wigander
Hi Has there been a strategic change to the way the File component processes multiple files in one directory in version 3? It seems that it process them in parallel which in our situation creates a memory issue. Code: from(file("{{esma.full.path}}") .delete(true) .sortBy("${file:name}"))

How Camel consumes files using multithreading

2021-10-25 Thread robbenp...@foxmail.com
Dear all, I am using Apache Camel to handle files from SFTP. Becausethere are too many file in the same directoty, I want to use multithreading to handle these files. Hera is my code. from("sftp://${sftp.username}:${sftp.password}@${sftp.host}:${sftp.port}/myDirectory?; +