Hi,

I am having problems trying to run the camel-example-jms-file of camel 2.1.0
on Karaf 1.2.0. Have all the dependencies in place but still get the
following exception.

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
excep
tion parsing XML document from URL
[bundle://74.0:0/META-INF/spring/camelContext
.xml]; nested exception is org.springframework.beans.FatalBeanException:
Invalid
 NamespaceHandler class
[org.apache.xbean.spring.context.v2.XBeanNamespaceHandle
r] for namespace [http://activemq.apache.org/schema/core]: problem with
handler
class file or dependent class; nested exception is
java.lang.NoClassDefFoundErro
r: org.apache.xbean.spring.context.v2.XBeanNamespaceHandler not found from
bundl
e [activemq-core (org.apache.activemq.activemq-core)]


Any modifications I need to make to make the example work?

Thanks  
 

willem.jiang wrote:
> 
> Hi,
> 
> You can also take a look at camel-example-jms-file[1], it can be 
> deployed into karaf with activemq 5.3.0.
> 
> [1] 
> https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-jms-file
> 
> Willem
> 
> srinidandi wrote:
>> Hi,
>> 
>> I am trying my hands on a simple example of reading a activemq 5.3.0
>> queue,
>> route the message to a bean using Camel 2.1.0 and deploy the application
>> on
>> Karaf 1.2.0, but struggling to make it work.
>> 
>> Is there any example or sample code that I can get for this combination.
>> It's little urgent, so any pointers also will be quite helpful.
>> 
>> Thanks 
>> 
>>  
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/looking-for-activemq%2Bcamel%2BKaraf-example-tp27560557p27590376.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to