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 the right thing on shutdown, etc. -Steve > -----Original Message----- > From: Steve973 <[email protected]> > Sent: Monday, October 25, 2021 3:13 PM > To: users <[email protected]> > Subject: Is it possible to communicate with a processor or component > instance outside/independent of routing? > > 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 anything else within camel that does something similar. > > Thanks, > Steve
