Spring namespaces issue with camel
francesco francesco.malvezzi@unimore.it
8:43 AM (3 hours ago)
to Akka
I was reading docs at
http://doc.akka.io/docs/akka-modules/1.3.1/modules/camel.html
in particular the sections 'Standalone Spring applications'
In order to have it working, by trial and mistake (proof-of concept
at: https://github.com/francescm/akka-camel-jruby), I had to change
the camel-context.xml from:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:akka="http://repo.akka.io/schema/akka"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://repo.akka.io/schema/akka
http://repo.akka.io/akka-1.3.1.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
to:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:akka="http://akka.io/schema/akka"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://akka.io/schema/akka
http://repo.akka.io/akka-1.3.1.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
(I removed the 'repo' part from two of the three declarations where it
used to be)
I was a typo in the documentation or am I missing something?
regards,
Francesco
PS: thank you for this great project: I'm going to substitute a large
part of a pure camel-spring project with akka.
8:43 AM (3 hours ago)
to Akka
I was reading docs at
http://doc.akka.io/docs/akka-modules/1.3.1/modules/camel.html
in particular the sections 'Standalone Spring applications'
In order to have it working, by trial and mistake (proof-of concept
at: https://github.com/francescm/akka-camel-jruby), I had to change
the camel-context.xml from:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:akka="http://repo.akka.io/schema/akka"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://repo.akka.io/schema/akka
http://repo.akka.io/akka-1.3.1.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
to:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:akka="http://akka.io/schema/akka"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://akka.io/schema/akka
http://repo.akka.io/akka-1.3.1.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
(I removed the 'repo' part from two of the three declarations where it
used to be)
I was a typo in the documentation or am I missing something?
regards,
Francesco
PS: thank you for this great project: I'm going to substitute a large
part of a pure camel-spring project with akka.
Leave a comment