Re: SaxParseException when using @RecipientList and .beanRef()

2009-05-07 Thread Claus Ibsen
Hi Can you try with a different signature of your method to see if something is fussy there. (@XPath("//request") String requestType) Try just with a plain (Exchange exchange) where you can use exchange.getIn().getBody() to check if the body is okay. And then String s = exchange.getIn().getBody(

Re: SaxParseException when using @RecipientList and .beanRef()

2009-05-07 Thread angeloNZ
I am having a hard time getting this working. I managed to put the tracer working and I can see that the message I'm sending is valid. I think it's in the response that I'm getting the "content not allowed in prolog" message because now it's saying it's finding a character 'j' where '<' is expec

Re: SaxParseException when using @RecipientList and .beanRef()

2009-05-05 Thread Claus Ibsen
On Wed, May 6, 2009 at 12:53 AM, angeloNZ wrote: > > Hi, > > I'm using Camel alongside ServiceMix to do content based routing.  I'm > trying out using the @RecipientList annotation in my code to do a dynamic > lookup of my intended endpoints from an external properties file. > > This is my camel m

SaxParseException when using @RecipientList and .beanRef()

2009-05-05 Thread angeloNZ
Hi, I'm using Camel alongside ServiceMix to do content based routing. I'm trying out using the @RecipientList annotation in my code to do a dynamic lookup of my intended endpoints from an external properties file. This is my camel method: @RecipientList public String getTarget(@XPath("//re