Re: Resequencer based on XML Message header element (MessageId)

2009-02-10 Thread sailaja p
Hi, I am also getting the same exception (java.lang.ClassCastException) when I ran the Spring XML with Resquencer Pattern. I had even tried by adding the convertBodyTo tag with type="java.lang.Long" as suggested by Martin. But still I am getting the same ClassCastException. Below is the Spri

Re: DSL and XPath

2009-02-10 Thread Jon Anstey
When using XPath, the message body must be valid XML. You can modify your message body from "body" to "" (or something like that) to get around this error. Or you can use some other expression language that doesn't require XML messages to do the checking (Java bean, EL, Groovy, etc.) On Tue, Feb 1

DSL and XPath

2009-02-10 Thread benshort
Hi, Can anyone help we get the following working. JDK 1.6 Camel 1.5.0 Test case @Test public void xpath() throws Exception { final CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void configure() throws Exceptio

Re: Working example jetty spring remoting ?

2009-02-10 Thread Claus Ibsen
Hi You interface which methods does it have? There is AmbiguousMethodCallException so Camel can not pick a single method to invoke. You can add annotations to help Camel, and I think you can add a header with the method name to invoke. http://camel.apache.org/parameter-binding-annotations.html h

Re: content router question

2009-02-10 Thread Julien D
Hi, check this: http://camel.apache.org/recipientlist-annotation.html pevgen wrote: > > 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

Re: Working example jetty spring remoting ?

2009-02-10 Thread Julien D
I also tried to expose my services this way: http://activemq.apache.org/camel/schema/spring";> Route Builder: from("jetty:http://localhost:8080/remote/FooServices";) .to("direct:fooServicesImpl") With that I have the following exception : 2009-02-10 16:10:37,748 DEBUG [null:-1] -

Working example jetty spring remoting ?

2009-02-10 Thread Julien D
Hi everybody, I have some services on my server and I would like to expose them using spring remoting and jetty but I didn't manage to have something working. Here's the way I'm doing it (Foo is of course not my real object name): Server.xml file : http://activemq.apache.org/camel/schema/spr

Re: camel-cxf Soap-Fault not returned as 500 http error code

2009-02-10 Thread Willem Jiang
Hi Marc, I just fill a JIRA[1] for it, and will look into it tomorrow. [1]https://issues.apache.org/activemq/browse/CAMEL-1330 Willem On Tue, Feb 10, 2009 at 6:36 PM, Marc Giger wrote: > Hi, > > I have (again) the problem that a soap-fault is not returned as 500 code. > > This worked fine wit

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

2009-02-10 Thread James Strachan
2009/2/9 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 fo

camel-cxf Soap-Fault not returned as 500 http error code

2009-02-10 Thread Marc Giger
Hi, I have (again) the problem that a soap-fault is not returned as 500 code. This worked fine with camel-cxf 1.3 but not with camel-cxf 1.5. The reason seems to be that the cxf response-context is not (correctly?) propagated back. In 1.3 we had the following code to propagate the responseContex

Re: Namespaces for Apache - 2.0-SNAPSHOT

2009-02-10 Thread Claus Ibsen
We could add a wiki page with all the namespace and URI's Well in fact we might have it already, but then improve it a bit http://camel.apache.org/xml-reference.html But it could use a total list of all the namespaces and the schemas, for cxf, spring integration etc. On Tue, Feb 10, 2009 at 9:5

Re: Namespaces for Apache - 2.0-SNAPSHOT

2009-02-10 Thread Willem Jiang
Hi Charles, I think the right URI should be http://camel.apache.org/schema/cxf/ http://camel.apache.org/schema/cxf/camel-cxf.xsd Willem cmoulliard wrote: > Hi, > > Do we have to chaneg the namespaces declared in the xml files for Camel > 2.0-SNAPSHOT ? > > e.g. : > > http://activemq.apache.o

Namespaces for Apache - 2.0-SNAPSHOT

2009-02-10 Thread cmoulliard
Hi, Do we have to chaneg the namespaces declared in the xml files for Camel 2.0-SNAPSHOT ? e.g. : http://activemq.apache.org/camel/schema/cxfEndpoint http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd --> http://camel.apache.org/camel/schema/cxfEndpoint http://camel.apache.org/camel