Hi, the problem is that a lot of links on the page you are mentionend, are dead ("page not found"). I should have told that in the first posting.
I use spring so I hoped spring will find it. I will look at the examples. Thanks. -----Ursprüngliche Nachricht----- Von: Omar Al-Safi <omars...@gmail.com> Gesendet: Montag, 16. September 2019 12:57 An: users@camel.apache.org Betreff: Re: own endpoint exmaple? If I understand correctly, you want to create your own component, is that correct? If that is the case, please check here: https://camel.apache.org/manual/latest/writing-components.html. Basically you will need to either: - Add add a file to META-INF/services/org/apache/camel/component/FOO to enable the auto-discovery per the docs. - Or initiate the component manually and add it to camel context, you can take a look an example here: https://github.com/apache/camel/blob/master/examples/camel-example-artemis/src/main/java/org/apache/camel/example/artemis/ArtemisMain.java#L39 or here: https://github.com/apache/camel/blob/master/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/BaseEmbeddedKafkaTest.java#L81 regards On Mon, 16 Sep 2019 at 12:44, <thomas.thi...@telekom.de> wrote: > Hi, > > can some point me to a working example where an own endpoint was created. > > In route I say: > > .to("thomas://foo") > > my Endpoint is > > @Component > @UriEndpoint(scheme = "thomas", title = "Thiele", > syntax="thomas:name", label = "Thomas") public class ThomasStep > extends DefaultEndpoint {} > > But I get. > > thomas://name due to: No component found with scheme: thomas >