[ https://issues.apache.org/jira/browse/CAMEL-3490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991146#comment-12991146 ]
Claus Ibsen commented on CAMEL-3490: ------------------------------------ Christian I think you must put the osgi code in a sub package, eg org.apache.camel.component.servlet.osgi This ensures the classloader in non osgi environments will not barf about not able to find OSGI JARs. We do the same in camel-core, see the Activator class in the core, as its in a .osgi sub package. > camel-servlet should register on the OSGi HTTP service if deployed in OSGi > -------------------------------------------------------------------------- > > Key: CAMEL-3490 > URL: https://issues.apache.org/jira/browse/CAMEL-3490 > Project: Camel > Issue Type: New Feature > Components: camel-servlet, osgi > Affects Versions: 2.5.0 > Reporter: Guillaume Nodet > Assignee: Willem Jiang > Fix For: 2.7.0 > > Attachments: ServletRegisterer.java, beans.xml > > -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira