Consider an example. Example project in the attachment file. For reasons of clarity, the project no services and no Apache Camel.
Build project: Note the last warning. Remove method getB. Build project. Last warning not exists. myapp.tar.gz <http://camel.465427.n5.nabble.com/file/n5746302/myapp.tar.gz> Aleksey -- View this message in context: http://camel.465427.n5.nabble.com/Camel-main-class-in-osgi-bundle-tp5746113p5746302.html Sent from the Camel - Users mailing list archive at Nabble.com.