JBoss List Archives
Sign In
Sign Up
Sign In
Sign Up
Manage this list
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
List overview
Download
thread
[jboss-user] [Snowdrop] - EAP6.1/JBoss7 Snowdrop and Camel
dako ak
Wednesday, 26 June 2013
Wed, 26 Jun '13
9:19 a.m.
dako ak [
https://community.jboss.org/people/dako_t
] created the discussion "EAP6.1/JBoss7 Snowdrop and Camel" To view the discussion, visit:
https://community.jboss.org/message/825012#825012
-------------------------------------------------------------- Hi all, Currently I try to start with a camel spring project but I can't bring it to work. I have realised a spring jar deployment with Snowdrop 2.0.5 on EAP 6.1 and for now, everything works fine. But I can't start a camel route from my spring file. I have created a camel-core and a spring-camel module but I got the error message "Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring]"
when my spring jar starts deploying. This are my spring files: *jboss-spring.xml to start the spring application (snowdrop):* <beans xmlns="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/beans/spring-beans.xsd">
<description>BeanFactory=(MyCamelSpring)</description> <import resource="/spring/camel-route.xml"/> </beans> *camel-route.xml:* <beans xmlns="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring"
xmlns:context="
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring
classpath:META-INF/spring/camel-spring.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
classpath:META-INF/spring/spring-context-3.0.xsd"> <context:load-time-weaver weaver-class="org.jboss.instrument.classloading.JBossLoadTimeWeaver"/> <import resource="classpath:META-INF/spring/spring-bean.xml" /> <camelContext xmlns="
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring">
<route> <from uri="timer://myTimer?fixedRate=true&period=5s" /> <bean ref="myBean" method="print" /> </route> </camelContext> </beans> *spring-bean.xml* <beans xmlns="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="myBean" class="de.mycompany.myspringcamel.MyBean"> </bean> </beans> -------------------------------------------------------------- Reply to this message by going to Community [
https://community.jboss.org/message/825012#825012
] Start a new discussion in Snowdrop at Community [
https://community.jboss.org/choose-container!input.jspa?contentType=1&...
]
Attachments:
attachment.html
(text/html — 9.5 KB)
0
/
0
Reply
Back to the thread
Back to the list