Re: restlet component and query string parameters

2009-02-09 Thread William Tam
Hi Nolan, thanks for your suggestion. I've submitted a fix. camel-1.x: Committed revision 742855. 2.0 trunk: Committed revision 742854. [Camel-1329]. On Mon, Feb 9, 2009 at 5:14 PM, nojonojo wrote: > > > It looks like parameters sent in the query string of a request processed by > the restlet co

restlet component and query string parameters

2009-02-09 Thread nojonojo
It looks like parameters sent in the query string of a request processed by the restlet component don't make it into the Camel message anywhere, and thus aren't usable by the application. The use of query string parameters isn't very rest-like, but there are a few cases where it's desirable or n

Re: content router question

2009-02-09 Thread Jon Anstey
Try using a bean expression in a choice route from("direct:start").choice() .when().method("myBean", "bodyContainsOne").to("mock:x") .otherwise().to("mock:y"); where the bean looks like static class MyBean { public static boolean bodyContainsOne(@Body String messageBody) { return

content router question

2009-02-09 Thread pevgen
Hello. How can I create a "content router", if I want to analize a string message body. i try to explain my wish by java-like example : String messageBody = "test 1"; if (messageBody.indexOf("1")>=0) then ... messageBody will be sent to an "Endpoint1" else ...messageBody will be sent to an "Endp

TIPS: HowTo Use Producer annotations with java DSL only (no xml)

2009-02-09 Thread gmagniez
Hello, I was looking for using @Produce and @EndpointInject annotations without using Spring XML, but at the beginning with no success, my producer was null all the time. So after many and many runs of my application with differents CamelContext parameters, i've found some which works perfect for

Re: Classloading leak in camel-jaxb component

2009-02-09 Thread Claus Ibsen
Hi Chris I have commtied a quick fix for the is in 1.x. Do you mind trying out by checking out the source and build a camel-jaxb component? Hadrian is working in on closing on a 1.6.0 release and would be great to have this tested in your environment before we cut the 1.6.0 release. On Sat, Feb

Camel, openmq and tomcat: hangup on shutdown?

2009-02-09 Thread Michele Bini
Hello everybody, I wrote a minimal web application which, on application server start, instances a camel context configuring an activeMQ component (running as a standalone broker), then starts it, storing it in the servlet context and configures a route from activeMQ. It then stops the camel c