camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liav Ezer <>
Subject Need assistance to solve a camelContext exception
Date Wed, 21 Jan 2009 20:18:44 GMT


This is another try to post my problem - maybe you ran into something

I use fuse-esb with camel 1.4.

I have a Camel SA & i try to add an interceptor via the following code:

Router class:
public void configure() throws Exception {
      getContext().addInterceptStrategy(new MyFromEndpointInterceptor()); 

      .process(new OXpServicesAuthenticationProcessor());

& i get the following exception:

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'camelContext:beanPostProcessor': Cannot
 resolve reference to bean 'camelContext' while setting bean property
'camelContext'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating be
an with name 'camelContext': Invocation of init method failed; nested
exception is java.lang.NoSuchMethodError:

What i tried to do is to remove camel-core 1.4 from my classpath & to add
1.5 (after getting it via pom dependecy)

Here is my camel-context

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
	  <camelContext useJmx="true"
	    <!-- Define the location of our router builder class -->

Many thanks.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message