Oh, you can't define the <camel:endpoint> out of the camelContext.
Since there could be more than one camel context in the application context configuration file.

Please put the <camel:endpoint> inside the camelContext.
<camel:camelContext>
   ...
   <camel:endpoint/>
</camel:camelContext>

Willem


Mick Knutson wrote:
I changed my declaration to this, but this did not change:


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:aop="http://www.springframework.org/schema/aop";
       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://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
        *http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd";>
*


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Aug 27, 2009 at 7:10 PM, Hadrian Zbarcea <hzbar...@gmail.com> wrote:

No, targetNamespace (s) are unchanged.  For the spring one it is still
xmlns:camel="http://camel.apache.org/schema/spring"; see [1]
What I meant is that from http://camel.apache.org/schema you can navigate
to the respective subdirs and find that the camel-*-2.0.0.xsd files are now
available online.

Sorry for the confusion,
Hadrian

[1] http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd




On Aug 27, 2009, at 9:58 PM, Mick Knutson wrote:

 My current one is :
xmlns:camel="http://camel.apache.org/schema/spring";

do I change it to
xmlns:camel="http://camel.apache.org/schema";

??

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Thu, Aug 27, 2009 at 1:37 PM, Hadrian Zbarcea <hzbar...@gmail.com>
wrote:

 The xsd files are available on the camel site:
http://camel.apache.org/schema/

Please let us know if you still encounter issues.

Thanks,
Hadrian

On Aug 27, 2009, at 2:03 PM, Claus Ibsen wrote:

Hi

Yeah its because of
https://issues.apache.org/activemq/browse/CAMEL-1947

The 2.0 xsd files have not been published to apache maven servers.



On Thu, Aug 27, 2009 at 5:29 PM, Mick Knutson<mknut...@baselogic.com>
wrote:

 I have been using the example from 2.0-M3 with this endpoint in the
server-aop.xml:

 <!-- START SNIPPET: e5 -->
 <!-- the audit store endpoint is configued as file based -->
 <camel:endpoint id="AuditStore" uri="file://target/store"/>
 <!-- END SNIPPET: e5 -->


But I now get this error when I run the camel server:

Caused by:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Cannot locate BeanDefinitionParser for element
[endpoint]
Offending resource: class path resource
[META-INF/spring/camel-server-aop.xml]


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus





Reply via email to