camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pevgen <pev...@km.ru>
Subject Re: jetty-component : many context paths
Date Fri, 13 Mar 2009 07:32:51 GMT

Thank you, Bruno.

But i think, that i could't explain my problem :) 

if i create a "direct:path" (like "jetty:http://localhost:1234/base"), then
all requests like  "...base/blablabla" can't process by the jetty endpoint.

i want create http-router and route in-messages like
if "path1" then {
  process1();}
if "path2" {
  process2();}
...
where path1 and path2 are context-paths....

There are any councils ?

Evgeny

 

Bruno Borges wrote:
> 
> Isn't possible to do a "direct:path" and from there you multicast to other
> endpoints?
> 
> 
> 
> Like:
> 
> from("some:where").to("direct:path");
> 
> String[] paths = getJettyPaths();
> 
> from("direct:path").multicast(paths);
> 
> 
> How about this?
> 
> Bruno Borges
> blog.brunoborges.com.br
> +55 21 76727099
> 
> "The glory of great men should always be
> measured by the means they have used to
> acquire it."
> - Francois de La Rochefoucauld
> Sent from: Rio de janeiro Rj Brazil.
> 
> On Thu, Mar 12, 2009 at 1:32 PM, pevgen <pevgen@km.ru> wrote:
> 
>>
>> Hello.
>>
>> How can i get a jetty-endpoint with many context paths ?
>> for example, i want to get requests on
>> http://localhost:1234/base/path1and
>> http://localhost:1234/base/path2. but 'path1' and 'path2' are runtime
>> paths
>> (from 1 to .... many :)).
>> if i configured the endpoint as "jetty:http://localhost:1234/base", then
>>  i
>> got jetty http 404 error.
>>
>> Thanks
>> Evgeny
>> --
>> View this message in context:
>> http://www.nabble.com/jetty-component-%3A-many-context-paths-tp22479524p22479524.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Bruno Borges
> blog.brunoborges.com.br
> +55 21 76727099
> 
> "The glory of great men should always be
> measured by the means they have used to
> acquire it."
> - Francois de La Rochefoucauld
> 

-- 
View this message in context: http://www.nabble.com/jetty-component-%3A-many-context-paths-tp22479524p22491491.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message