Re: Load a route from Blueprint XML

2022-09-29 Thread Jean-Baptiste Onofré
Hi you can take a look on the examples in Karaf: https://github.com/apache/karaf/tree/main/examples/karaf-camel-example Regards JB On Mon, Sep 26, 2022 at 3:51 PM Domke, Alexander wrote: > > Hello all, > > I am trying to load an external route from a blueprint XML file and it is not > working

AW: Load a route from Blueprint XML

2022-09-28 Thread Domke, Alexander
mees...@gmail.com] Gesendet: Dienstag, 27. September 2022 08:15 An: users@camel.apache.org Betreff: Re: Load a route from Blueprint XML Hi Alex, I seem you are sending the message to the direct endpoint before the xml-route is loaded. Couple of things you may try: 1) Start CamelContext before load

Re: Load a route from Blueprint XML

2022-09-26 Thread ski n
Hi Alex, I seem you are sending the message to the direct endpoint before the xml-route is loaded. Couple of things you may try: 1) Start CamelContext before loading routes 2) Load the camel xml-route with the Camel context (multiple routes can be loaded in the CamelContext, so you just add it t

Load a route from Blueprint XML

2022-09-26 Thread Domke, Alexander
Hello all, I am trying to load an external route from a blueprint XML file and it is not working. Has anyone done this before and has a tip for me? I am using camel 3.18.2 and Karaf 4.4.1. My Test Implementation: package testbundle; import java.io.File; import java.nio.file.Files; import org