We are using Servlet component and we route two routes as below. When i send
request to (route2) myservice/v1/ it process by route1.

As per Servlet component document  "CamelServlet should try to find a target
consumer by matching the URI prefix, if no exact match is found."
is not valid. 




route1
========
<route xmlns="http://camel.apache.org/schema/spring"; trace="true">
  <from uri="servlet:///?matchOnUriPrefix=true" />
  <to uri="bean:helloWorld?method=speak"/>  
</route>

route2
=========
<route xmlns="http://camel.apache.org/schema/spring"; trace="true">
  <from uri="servlet:///myservice/v1/>
  <to uri="bean:helloWorld?method=speak"/>  
</route>





--
View this message in context: 
http://camel.465427.n5.nabble.com/Servlet-component-matchOnUriPrefix-is-not-working-as-documented-tp5759604.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to