Hi,

It's typical Content Base Route, you can define the route like this

from("jetty://address1")
    .choice()
         
.when(header("CamelHttpMethod").isEqualTo("GET")).to("direct:doSomeThing")
         .otherwise().to("direct:bye").stop()
    .end()
    // keep on processing

-- 
Willem Jiang



On Wednesday, August 8, 2012 at 1:20 AM, Mark Webb wrote:

> I am using Jetty for a Camel consumer on a couple routes. I would
> like to limit only GET methods for one route and PUT for another
> route. Is this possible or do I need to set up some kind of
> filter/processor to do this? I don't see anything in the
> documentation to support this functionality.
> 
> Thanks,
> Mark
> 
> 


Reply via email to