[ https://issues.apache.org/activemq/browse/CAMEL-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-2002. --------------------------------- Resolution: Fixed http://svn.apache.org/viewvc?rev=813653&view=rev > The matchOnUriPrefix option should set per endpoint > --------------------------------------------------- > > Key: CAMEL-2002 > URL: https://issues.apache.org/activemq/browse/CAMEL-2002 > Project: Apache Camel > Issue Type: Bug > Components: camel-http > Affects Versions: 2.0-M1, 2.0-M2, 2.0-M3, 2.0.0 > Reporter: Willem Jiang > Assignee: Willem Jiang > Fix For: 2.1.0 > > > Current camel-http component's matchOnUriPrefix option is set to the > component level. If we have the route like this > {code} > from("jetty://http://localhost:9000/hello?matchOnUriPerfix").to(...) > from("jetty://http://localhost:9000/test").to(...) > {code} > You can't access the service with http://localhost:9000/helloworld, since the > Jetty compnent's matchOnUriPrefix is override by last route rule. > So we need to set the matchOnUriPrefix per Jetty endpoint. > The fix will also effect to the camel-servlet component > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.