O.K. I found how to make this OSGi craft work:

karaf@root> features:addUrl
mvn:org.apache.camel/camel-example-osgi/2.12-SNAPSHOT/xml/features
karaf@root> features:install camel-example-osgi
karaf@root> log:tail
2013-05-20 12:17:08,537 | INFO  |  timer://myTimer | MyTransform                
     
| e.camel.example.osgi.MyTransform   37 | 78 -
org.apache.camel.camel-example-osgi - 2.12.0.SNAPSHOT | >>>> SpringDSL set
body:  Mon May 20 12:17:08 CEST 2013
2013-05-20 12:17:08,537 | INFO  |  timer://myTimer | ExampleRouter              
     
| rg.apache.camel.util.CamelLogger  176 | 74 - org.apache.camel.camel-core -
2.12.0.SNAPSHOT | Exchange[ExchangePattern:InOnly, BodyType:String,
Body:SpringDSL set body:  Mon May 20 12:17:08 CEST 2013]
2013-05-20 12:17:10,536 | INFO  |  timer://myTimer | MyTransform                
     
| e.camel.example.osgi.MyTransform   37 | 78 -
org.apache.camel.camel-example-osgi - 2.12.0.SNAPSHOT | >>>> SpringDSL set
body:  Mon May 20 12:17:10 CEST 2013
2013-05-20 12:17:10,536 | INFO  |  timer://myTimer | ExampleRouter              
     
| rg.apache.camel.util.CamelLogger  176 | 74 - org.apache.camel.camel-core -
2.12.0.SNAPSHOT | Exchange[ExchangePattern:InOnly, BodyType:String,
Body:SpringDSL set body:  Mon May 20 12:17:10 CEST 2013]

Babak




--
View this message in context: 
http://camel.465427.n5.nabble.com/Installing-Camel-examples-in-Karaf-tp5725748p5732832.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to