Hello Micheal,

1: Did your karaf support camel-core (Is it installed in your container).

2: Where is defined your component class ?

3: To install your bundle you can use bundle:install command


I hope this can help ..

--Filippo




2011/8/6 Michael Mertins <michael.mert...@saperion.com>:
>
> Hi all,
>
> I wrote my own component based on 
> http://camel.apache.org/creating-a-new-camel-component.html
>
> And created a file in \META-INF\services\org\apache\camel\component that 
> links my Class
>
> After the maven compile I get a jar that I deploy in karaf's deploy folder 
> and that is listed in karaf, then, too. BUT after I create a blueprint xml 
> route to my new component, the route is not loaded... What did I do wrong? 
> How can I deploy my own context in Karaf? Just adding a 
> Context-Implementation-Class tot he jar?
>
> This is my route; it works with normal components, but not with my custom 
> component. Why?
>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
>
>    <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
>        <route>
>            <from uri="file://c:/tmp/bla.tif" />
>            <to uri="myComponent:bla" />
>        </route>
>    </camelContext>
>
> </blueprint>
>
> Hope you can give me a hint. Please CC your answer to my address if possible.
>
>
> Thank you,
>
>
> Michael Mertins
>

Reply via email to