Re: Parse xml or yaml snippet into a Processor

2023-09-17 Thread Fyodor Kravchenko
Hello, Camel internally parses the route files and instantiates route steps as Processes. I would like to call this function in my program. Currently, with xml and Camel 2 I'm doing it with Jaxb, but I would like to employ the existing Camel functions that can do it for both xml and yaml.

Re: InterceptSendToEndpoint and access the intercepted endpoint details?

2023-09-17 Thread Claus Ibsen
Hi Yes a header with key Exchange.INTERCEPTED_ENDPOINT On Wed, Sep 6, 2023 at 12:03 PM Mikael Koskinen wrote: > Hi, > > If I'm intercepting (using InterceptSendToEndpoint) the exchange before it > is sent to an endpoint, can I somehow access the details of the endpoint > which I intercepted?

Re: Parse xml or yaml snippet into a Processor

2023-09-17 Thread Claus Ibsen
Hi I dont think we understand your question. Can you try to explain this in more detail? On Thu, Sep 7, 2023 at 10:31 AM Fyodor Kravchenko wrote: > Hello, > > what is the reliable way in a Java program to create a Processor from a > String containing a definition of a processor that usually