camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapdur <tapdu...@gmail.com>
Subject camel/restlet 1 endpoint for any path without list uris
Date Fri, 26 Mar 2010 23:53:16 GMT

Hi,

Is there a trick to specify one camel/restlet entrypoint for any http path
and use a eip to fork on specific path like this , without any list uri ? 

  		
from("restlet:http://"+IgcProperties.get("igc.greeting.host")+":"+IgcProperties.get("igc.greeting.port")+"?restletMethods=post,get")
	   			.choice()
   				
.when(header("HTTP_PATH").isEqualTo("/greeting")).to("greetingService")
  				.otherwise().throwException(new Exception()); 	


this code generate http error 404

Thx
Bruno


-- 
View this message in context: http://old.nabble.com/camel-restlet-1-endpoint-for-any-path-without-list-uris-tp28049159p28049159.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message