You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/09/11 04:13:15 UTC
[jira] Created: (CAMEL-2002) The matchOnUriPrefix option should set
per endpoint
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.0, 2.0-M3, 2.0-M2, 1.6.1, 2.0-M1, 1.6.0, 1.5.0, 1.4.0, 1.3.0
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 1.6.2, 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 (in Camel 2.x).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2002) The matchOnUriPrefix option should
set per endpoint
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-2002) The matchOnUriPrefix option should set
per endpoint
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-2002:
--------------------------------
Description:
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
was:
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 (in Camel 2.x).
Affects Version/s: (was: 1.6.1)
(was: 1.6.0)
(was: 1.5.0)
(was: 1.4.0)
(was: 1.3.0)
Fix Version/s: (was: 1.6.2)
Just check the code of camel-1.x branch , the matchOnUriPrefix is new to camel 2.x.
> 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.