from("servlet:///test?matchOnUriPrefix=true")
.filter(new MyPredicate())
.to("http://localhost:8080/sample/baseurl?bridgeEndpoint=true";)

class MyPredicate implements Predicate
{
        @Override
        public boolean matches(final Exchange exchange)
        {
                //return true for HTTP methods: GET, POST, PUT, DELETE
        }
}

Jars in classpath:
camel-core
camel-http
camel-gson
camel-servlet



--
View this message in context: 
http://camel.465427.n5.nabble.com/bridgeEndpoint-true-not-working-in-Camel-2-11-0-tp5732763p5732772.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to