Hi Freeman,

you are right. I have removed the needless configuration and now it works.

Everythin I hav configured is the following:

<bean id="camelServlet"
class="org.apache.camel.component.servlet.CamelHttpTransportServlet"/>
   
    <osgi:service ref="camelServlet">
        <osgi:interfaces>
            <value>javax.servlet.Servlet</value>
            <value>org.apache.camel.component.http.CamelServlet</value>
        </osgi:interfaces>
        <osgi:service-properties>
            <entry key="alias" value="/camel/services" />
            <entry key="matchOnUriPrefix" value="true" />
            <entry key="servlet-name" value="CamelServlet"/>
        </osgi:service-properties>
    </osgi:service>

<route id="startServletTestRoute">
                        <from uri="servlet:///startServletTest" />
                        <to uri="activemq:queue:startServletTest" />
...
                </route>

thank you and best regards

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Can-t-use-camel-servlet-in-ServiceMix-4-4-0-tp5713911p5713925.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to