Re: File component move option

2017-08-10 Thread stanleyab
I came across this error while running Camel 2.17.0 with Spring 4.3.7. One of our unit tests had the file move syntax given in the example in the Camel documentation of the File component: move=backup/${date:now:MMdd}/${file:name} and produced that error. What seems to have happened is that

Re: XPath with namespaces, Spring DSL and Spring Boot

2017-08-10 Thread Claus Ibsen
Hi Ah can you try set the namespaces on the outer element. On Thu, Aug 10, 2017 at 10:01 AM, Pontus Ullgren wrote: > Hi, > > I have a problem I've been unable to solve with the combination specified > in the subject. > > The problem is that when using the Spring DSL the namespaces should be > d

Re: XML validation with Camel (multiple XSDs)

2017-08-10 Thread David Karlsen
We've done the same thing - and went with xpath and CBR - works fine. 2017-08-10 16:41 GMT+02:00 Burkard Stephan : > Hi > > I have a use case where multiple different XML schema files exist (for > different types of messages or schema versions). Whenever a message > arrives, I have to validate it

XML validation with Camel (multiple XSDs)

2017-08-10 Thread Burkard Stephan
Hi I have a use case where multiple different XML schema files exist (for different types of messages or schema versions). Whenever a message arrives, I have to validate it against the correct schema. The correct schema is derived from the message namespace. ==> use A.xsd ==> use B.xs

XPath with namespaces, Spring DSL and Spring Boot

2017-08-10 Thread Pontus Ullgren
Hi, I have a problem I've been unable to solve with the combination specified in the subject. The problem is that when using the Spring DSL the namespaces should be defined in the camelContext element of the XML file. However when using the Camel Spring Boot support there is no camelContext eleme