Please check if you put the camel-spring jar into your class path.
On 8/27/11 6:56 AM, Mick Knutson wrote:
Is the camel jar still getting loaded as well?
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring& Agile Consulting
p. (855) BASE-LOGIC: (227-3564-42)
p. (478) BASE-LOGIC (227-3564-42)
f. (855) BASE-LOGIC: (227-3564-42)
Website: http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
---
On Fri, Aug 26, 2011 at 6:25 PM, sub3<[email protected]> wrote:
Just tried it now, both that& "*classpath*:camel.xml". The first result
in file not found, the sector responded in the same:
"org.springframework.beans.factory.BeanDefinitionStoreException:
Unrecognized xbean namespace mapping:
http://camel.apache.org/schema/spring"
So, I think that test showed the file is being loaded. But I am not
sure of why it is still generating an error.
Thanks.
On 8/26/2011 3:55 PM, BASE Logic, Inc. [via Camel] wrote:
Did you try
<import resource="*classpath:*camel.xml"/>
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring& Agile Consulting
p. (855) BASE-LOGIC: (227-3564-42)
p. (478) BASE-LOGIC (227-3564-42)
f. (855) BASE-LOGIC: (227-3564-42)
Website: http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
---
On Fri, Aug 26, 2011 at 3:38 PM, sub3<[hidden email]
</user/SendEmail.jtp?type=node&node=4739296&i=0>> wrote:
Hi,
Anyone have an example of using an embedded broker w/Camel, w/its
config
files within the same jar? I have
the ActiveMQ starting fine, just not w/Camel.
So far, I made sure:
1.) Made sure all of the namespaces point to camel.apache.org.
2.) Pointed all the xsi:schemaLocations to the local version (not a
url),
like
"http://camel.apache.org/schema/spring camel-spring.xsd"
3.) Made sure they are in the jar file.
ActiveMQ starts up fine, but as soon as I try the version with "<import
resource="camel.xml"/>" in the config file, I
still get the error:
org.springframework.beans.factory.BeanDefinitionStoreException:
Unrecognized
xbean namespace mapping: http://camel.apache.org/schema/spring
Any thought on what I am missing?
I am including my test directory (not sure if goes through the mail
server),
it has the pom.xml, 1 java file and the xsd, if interested.
Thanks for any help.
http://camel.465427.n5.nabble.com/file/n4739257/embedded.zipembedded.zip
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-Broker-Trying-to-Load-Camel-tp4739257p4739257.html
Sent from the Camel - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://camel.465427.n5.nabble.com/Embedded-Broker-Trying-to-Load-Camel-tp4739257p4739296.html
To unsubscribe from Embedded Broker, Trying to Load Camel, click here
<
http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4739257&code=c3RldmVAc3Vid2VzdC5jb218NDczOTI1N3wtNDYwNDg3MzUz
.
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-Broker-Trying-to-Load-Camel-tp4739257p4739789.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang