Hi Claus,

Regarding my ClassPath & Jars definition:

My Classpath isn't indicating any error of any kind.

Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src/main/java"/>
        <classpathentry excluding="**/*.java" including="**/*" kind="src"
path="src/main/resources"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-camel/3.3.1.5-fuse/servicemix-camel-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
sourcepath="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"
sourcepath="M2_REPO/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"
sourcepath="M2_REPO/javax/activation/activation/1.1/activation-1.1-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/com/sun/xml/bind/jaxb-impl/2.0.3/jaxb-impl-2.0.3.jar"/>
        <classpathentry kind="var"
path="M2_REPO/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/camel/camel-spring/1.4.1.0-fuse/camel-spring-1.4.1.0-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-core/2.5.5/spring-core-2.5.5.jar"
sourcepath="M2_REPO/org/springframework/spring-core/2.5.5/spring-core-2.5.5-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-context/2.0.6/spring-context-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar"
sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-beans/2.0.6/spring-beans-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-aop/2.5.5/spring-aop-2.5.5.jar"
sourcepath="M2_REPO/org/springframework/spring-aop/2.5.5/spring-aop-2.5.5-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-shared/3.3.1.5-fuse/servicemix-shared-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-common/3.3.1.5-fuse/servicemix-common-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
sourcepath="M2_REPO/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-soap/3.3.1.5-fuse/servicemix-soap-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/ws/security/wss4j/1.5.4/wss4j-1.5.4.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.jar"/>
        <classpathentry kind="var"
path="M2_REPO/opensaml/opensaml/1.1/opensaml-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/axis/axis-ant/1.4/axis-ant-1.4.jar"/>
        <classpathentry kind="var"
path="M2_REPO/xalan/xalan/2.7.0/xalan-2.7.0.jar"/>
        <classpathentry kind="var"
path="M2_REPO/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar"/>
        <classpathentry kind="var"
path="M2_REPO/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/bouncycastle/bcprov-jdk15/132/bcprov-jdk15-132.jar"/>
        <classpathentry kind="var"
path="M2_REPO/bouncycastle/bcprov-jdk14/136/bcprov-jdk14-136.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/opensaml/opensaml/1.1/opensaml-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-soap2/3.3.1.5-fuse/servicemix-soap2-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/ws/commons/schema/XmlSchema/1.3.2/XmlSchema-1.3.2.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-remoting/2.0.6/spring-remoting-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-core/3.3.1.5-fuse/servicemix-core-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-jbi/3.3.1.5-fuse/servicemix-jbi-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-activation_1.0.2_spec/1.2/geronimo-activation_1.0.2_spec-1.2.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-qname_1.1_spec/1.1/geronimo-qname_1.1_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/servicemix/servicemix-services/3.3.1.5-fuse/servicemix-services-3.3.1.5-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/modules/geronimo-connector/2.0.1/geronimo-connector-2.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/components/geronimo-connector/2.0.1/geronimo-connector-2.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/components/geronimo-transaction/2.0.1/geronimo-transaction-2.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee-connector_1.5_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/objectweb/howl/howl/1.0.1-1/howl-1.0.1-1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/modules/geronimo-transaction/2.0.1/geronimo-transaction-2.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/regexp/regexp/1.3/regexp-1.3.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/activemq/activemq-core/5.0.0.18-fuse/activemq-core-5.0.0.18-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1/geronimo-jms_1.1_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/activemq/activeio-core/3.0.0-incubator/activeio-core-3.0.0-incubator.jar"/>
        <classpathentry kind="var"
path="M2_REPO/backport-util-concurrent/backport-util-concurrent/2.2/backport-util-concurrent-2.2.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.1/geronimo-j2ee-management_1.0_spec-1.1.jar"
sourcepath="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.1/geronimo-j2ee-management_1.0_spec-1.1-sources.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.1/geronimo-jta_1.0.1B_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/geronimo/specs/geronimo-j2ee-jacc_1.0_spec/1.1/geronimo-j2ee-jacc_1.0_spec-1.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/xbean/xbean-server/3.1.0.2-fuse/xbean-server-3.1.0.2-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/xbean/xbean-spring/3.1.0.2-fuse/xbean-spring-3.1.0.2-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/xbean/xbean-classloader/3.1.0.2-fuse/xbean-classloader-3.1.0.2-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/xbean/xbean-kernel/3.1.0.2-fuse/xbean-kernel-3.1.0.2-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-jmx/2.0.6/spring-jmx-2.0.6.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/mx4j/mx4j-remote/3.0.1/mx4j-remote-3.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/jencks/jencks/2.1/jencks-2.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-jms/2.0.6/spring-jms-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-pool/commons-pool/1.2/commons-pool-1.2.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-dao/2.0.6/spring-dao-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/springframework/spring-support/2.0.6/spring-support-2.0.6.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar"/>
        <classpathentry kind="var"
path="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar"/>
        <classpathentry kind="var"
path="M2_REPO/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar"/>
        <classpathentry kind="var"
path="M2_REPO/commons-lang/commons-lang/2.1/commons-lang-2.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/camel/camel-core/1.4.1.0-fuse/camel-core-1.4.1.0-fuse.jar"/>
        <classpathentry kind="var"
path="M2_REPO/org/apache/camel/camel-core/1.4.0/camel-core-1.4.0-tests.jar"/>
        <classpathentry kind="output" path="target/classes"/>
</classpath>

Regarding the OSGi

I'm not familiar with this term & after googling it it seems not related to
my project - or might be related "behind the screens". "The package need to
exported" - Do you mean the Exchange message? 

Regarding the Context:

This is my code:
from("jbi:service:http://oxp/oXpInternalService";).getCamelContext().addInterceptStrategy(new
MyFromEndpointInterceptor());

Thanks.



Claus Ibsen-2 wrote:
> 
> Hi
> 
> Are you sure the classpath is clean no double jars or what else?
> 
> I assume you are no using OSGi whereas the packages needs to be
> exported. But they should be in the camel 1.4 .jar
> 
> Could you check which object the getContext() returns?
> 
> System.out.println(getContext()):
> System.out.println(getContext().getClass().getName()):
> 
> I am wondering what it is?
> 
> 
> 
> On Thu, Jan 15, 2009 at 2:12 PM, Liav Ezer <[email protected]> wrote:
>>
>> Hi Claus,
>>
>> I do have a problem with this method (addInterceptStrategy) in deployment
>> time of the camel SA:
>>
>> I think i have to register the interceptor as a spring bean in the
>> context
>> file - do i need?
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'camel:beanPostProcessor': Cannot resolve reference to bean
>> 'camel' while setting bean property 'camelContext'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'camel': Invocation of init method failed; nested exception is
>> java.lang.NoSuchMethodError:
>> org.apache.camel.CamelContext.addInterceptStrategy(Lorg/apache/camel/spi/InterceptStrategy;)stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'camel:beanPostProcessor': Cannot resolve reference to bean
>> 'camel' while setting bean property 'camelContext'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'camel': Invocation of init method failed; nested exception is
>> java.lang.NoSuchMethodError:
>> org.apache.camel.CamelContext.addInterceptStrategy(Lorg/apache/camel/spi/InterceptStrategy;)
>>
>> Thanks.
>>
>> Claus Ibsen-2 wrote:
>>>
>>> Hi
>>>
>>> Are you still having problem with it?
>>>
>>> The method is in CamelContext interface
>>>
>>>     /**
>>>      * Adds the given interceptor strategy
>>>      *
>>>      * @param interceptStrategy the strategy
>>>      */
>>>     void addInterceptStrategy(InterceptStrategy interceptStrategy);
>>>
>>>
>>>
>>> On Thu, Jan 15, 2009 at 1:57 PM, Liav Ezer <[email protected]> wrote:
>>>>
>>>> Hi Willem,
>>>>
>>>> My versions are:
>>>>
>>>> Camel:Camel 1.4
>>>> SMX:fuse-esb-3.3.1.3
>>>>
>>>> Thanks.
>>>>
>>>> willem.jiang wrote:
>>>>>
>>>>> Which version of Camel and ServiceMix are you using ?
>>>>>
>>>>> Willem
>>>>>
>>>>> On Thu, Jan 15, 2009 at 5:10 PM, Liav Ezer <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> Hi Claus,
>>>>>>
>>>>>> I'm having difficulties adjusting your example.
>>>>>>
>>>>>> Currently i have an independent class for the builder & for the
>>>>>> processor
>>>>>> (not inner class).
>>>>>>
>>>>>> This is my builder:
>>>>>>
>>>>>> public class OxpRouteBuilder extends RouteBuilder {
>>>>>>    public void configure() throws Exception {
>>>>>>          from("jbi:service:http://oxp/oXpInternalService";)
>>>>>>        .process(new OXpServicesAuthenticationProcessor());
>>>>>>    }
>>>>>> }
>>>>>>
>>>>>> This is my processor:
>>>>>>
>>>>>> class OXpServicesAuthenticationProcessor implements Processor{
>>>>>>    public OXpServicesAuthenticationProcessor() {
>>>>>>    }
>>>>>>
>>>>>>    public void process(Exchange exchange) throws Exception {
>>>>>>
>>>>>>       String policyContentRequest =
>>>>>> getPolicyContentRequest(exchange);
>>>>>>       if(!userIsAuthenticate( exchange , policyContentRequest)){
>>>>>>          String errMsg = "<fault>User is not authorized to perform
>>>>>> the
>>>>>> activity!</fault>";
>>>>>>          exchange.getIn().setBody(errMsg);
>>>>>>          throw new Exception(errMsg );
>>>>>>       }
>>>>>>       routeMessage(exchange);
>>>>>>    }
>>>>>> }
>>>>>>
>>>>>> This is my camel-context:
>>>>>>
>>>>>> <camelContext id="camel"
>>>>>> xmlns="http://activemq.apache.org/camel/schema/spring";>
>>>>>>    <package>com.liav.oxp.esb.poc</package>
>>>>>> </camelContext>
>>>>>>
>>>>>> My question is:
>>>>>>
>>>>>> 1.Can i "wire" up your example to my architecture or should i create
>>>>>> a
>>>>>> different router builder like yours?
>>>>>>    When i added to my builder's configure method the
>>>>>> "addInterceptStrategy"
>>>>>> i got
>>>>>>    NoSuchMethodException in deployment.
>>>>>> 2. If i need to use your architecture, which definition of the
>>>>>> camel-context
>>>>>> file should i add to support this interceptor?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Liav Ezer wrote:
>>>>>> >
>>>>>> > Oh sorry igot the answer from:
>>>>>> >
>>>>>> >
>>>>>> http://activemq.apache.org/camel/how-do-i-reuse-the-contexttestsupport-class-in-my-unit-tests.html
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > Liav Ezer wrote:
>>>>>> >>
>>>>>> >> I don't have the org.apache.camel.ContextTestSupport in my maven
>>>>>> >> repository.
>>>>>> >>
>>>>>> >> Which dependency should i add to the camel SU's pom file?
>>>>>> >>
>>>>>> >> Thanks.
>>>>>> >>
>>>>>> >> Claus Ibsen-2 wrote:
>>>>>> >>>
>>>>>> >>> Hi
>>>>>> >>>
>>>>>> >>> I have created an unit test in Camel 1.x that simulates the
>>>>>> >>> fromEndpointUri using an interceptor instead.
>>>>>> >>> Its 99% as good :)
>>>>>> >>>
>>>>>> >>> Check out:
>>>>>> >>>
>>>>>> org.apache.camel.processor.interceptor.SimulateFromEndpointUsingInterceptorTest
>>>>>> >>>
>>>>>> >>> That I will commit in a short time.
>>>>>> >>>
>>>>>> >>> Then you will be able to get the fromEndpointUri from a Exchange
>>>>>> >>> property.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On Thu, Jan 15, 2009 at 7:34 AM, Liav Ezer <[email protected]>
>>>>>> wrote:
>>>>>> >>>>
>>>>>> >>>> Hi Claus,
>>>>>> >>>>
>>>>>> >>>> My use case is: each new service need to have a consumer & a
>>>>>> provider
>>>>>> >>>> in my
>>>>>> >>>> application.
>>>>>> >>>>
>>>>>> >>>> Therefore, i need to dynamically build (via producer template)
>>>>>> an
>>>>>> >>>> End-Point
>>>>>> >>>> & access it.
>>>>>> >>>>
>>>>>> >>>> My assumption is that the provider & consumer end-points (BC's)
>>>>>> will
>>>>>> >>>> have
>>>>>> >>>> the same name (prefix), only change will be the postfix
>>>>>> >>>> (<svcName>Provider
>>>>>> >>>> vs <svcName>Consumer).
>>>>>> >>>>
>>>>>> >>>> If i can gain knowledge on my FromEndPoing at DSL run time, i
>>>>>> can
>>>>>> >>>> dynamically create a provider end-point based on the consumer
>>>>>> name
>>>>>> >>>> (instead
>>>>>> >>>> of doing it hard coded).
>>>>>> >>>>
>>>>>> >>>> Thanks Claus.
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>> Claus Ibsen-2 wrote:
>>>>>> >>>>>
>>>>>> >>>>> On Wed, Jan 14, 2009 at 6:00 PM, Liav Ezer
>>>>>> <[email protected]>
>>>>>> >>>>> wrote:
>>>>>> >>>>>>
>>>>>> >>>>>> Hi,
>>>>>> >>>>>>
>>>>>> >>>>>> I have the following problem:
>>>>>> >>>>>>
>>>>>> >>>>>> In my Camel DSL routing logic i call a processor which
>>>>>> analyzes
>>>>>> my
>>>>>> >>>>>> exchange.
>>>>>> >>>>>>
>>>>>> >>>>>> When i looked at the Exchange API i saw that i can extract the
>>>>>> >>>>>> original
>>>>>> >>>>>> exchane's end-point.
>>>>>> >>>>>>
>>>>>> >>>>>> Please refer to:
>>>>>> >>>>>>
>>>>>> http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/Exchange.html#getFromEndpoint()<http://activemq.apache.org/camel/maven/camel-core/apidocs/org/apache/camel/Exchange.html#getFromEndpoint%28%29>
>>>>>> >>>>>>
>>>>>> >>>>>> But this API is new - only in camel-2.0 while SMX works with
>>>>>> 1.5
>>>>>> at
>>>>>> >>>>>> most.
>>>>>> >>>>>>
>>>>>> >>>>>> My questions are:
>>>>>> >>>>>>
>>>>>> >>>>>> 1. Can you advise how to get the camel-core 2.0 version via
>>>>>> maven?
>>>>>> >>>>>>
>>>>>> >>>>>> I tried the following depedency & got this error:
>>>>>> >>>>>> <dependency>
>>>>>> >>>>>>         <groupId>org.apache.camel</groupId>
>>>>>> >>>>>>         <artifactId>camel-core</artifactId>
>>>>>> >>>>>>         <version>2.0.0</version>
>>>>>> >>>>>> </dependency>
>>>>>> >>>>>> Error:
>>>>>> >>>>>> [INFO]
>>>>>> >>>>>>
>>>>>> -------------------------------------------------------------------
>>>>>> >>>>>> [ERROR] BUILD ERROR
>>>>>> >>>>>> [INFO]
>>>>>> >>>>>>
>>>>>> -------------------------------------------------------------------
>>>>>> >>>>>> [INFO] Failed to resolve artifact.
>>>>>> >>>>>>
>>>>>> >>>>>> GroupId: org.apache.camel
>>>>>> >>>>>> ArtifactId: camel-maven-plugin
>>>>>> >>>>>> Version: 2.0.0
>>>>>> >>>>>>
>>>>>> >>>>>> Reason: Unable to download the artifact from any repository
>>>>>> >>>>>>  org.apache.camel:camel-maven-plugin:pom:2.0.0
>>>>>> >>>>>>
>>>>>> >>>>>> from the specified remote repositories:
>>>>>> >>>>>>  central (http://repo1.maven.org/maven2),
>>>>>> >>>>>>  apache.snapshots
>>>>>> >>>>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>>>> >>>>>>  apache
>>>>>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository)
>>>>>> >>>>> See the download page for using SNAPSHOTS
>>>>>> >>>>> http://activemq.apache.org/camel/download.html
>>>>>> >>>>>
>>>>>> >>>>> You need to add a SNAPSHOT maven repo and use 2.0-SNAPSHOT as
>>>>>> version
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>>>
>>>>>> >>>>>>
>>>>>> >>>>>> 2. Can you please advise how to gain the exchange's 'from'
>>>>>> end-point
>>>>>> >>>>>> at
>>>>>> >>>>>> run
>>>>>> >>>>>> time in other way beside using this new API?
>>>>>> >>>>> I dont think it is that easy in 1.x. An interceptor might get
>>>>>> you
>>>>>> >>>>> close (like the tracer) as you can get the node (the model of
>>>>>> the
>>>>>> >>>>> route graph) that started it and then "compute" the from
>>>>>> endpoint.
>>>>>> >>>>>
>>>>>> >>>>> What is your use case since you need the from endpoint?
>>>>>> >>>>>
>>>>>> >>>>>>
>>>>>> >>>>>> Thanks.
>>>>>> >>>>>>
>>>>>> >>>>>> --
>>>>>> >>>>>> View this message in context:
>>>>>> >>>>>>
>>>>>> http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21460207.html
>>>>>> >>>>>> Sent from the Camel - Users mailing list archive at
>>>>>> Nabble.com.
>>>>>> >>>>>>
>>>>>> >>>>>>
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>> --
>>>>>> >>>>>
>>>>>> >>>>> /Claus Ibsen
>>>>>> >>>>> Apache Camel Committer
>>>>>> >>>>> Blog: http://davsclaus.blogspot.com/
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>
>>>>>> >>>> --
>>>>>> >>>> View this message in context:
>>>>>> >>>>
>>>>>> http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21472159.html
>>>>>> >>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>>> >>>>
>>>>>> >>>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> --
>>>>>> >>>
>>>>>> >>> /Claus Ibsen
>>>>>> >>> Apache Camel Committer
>>>>>> >>> Blog: http://davsclaus.blogspot.com/
>>>>>> >>>
>>>>>> >>>
>>>>>> >>
>>>>>> >>
>>>>>> >
>>>>>> >
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21473876.html
>>>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21477064.html
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> -------
>>> Claus Ibsen
>>> Apache Camel Committer
>>>
>>> Open Source Integration: http://fusesource.com
>>> Blog: http://davsclaus.blogspot.com/
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21477349.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> -------
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-using-camel-2.0-API-in-SMX-tp21460207s22882p21479671.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to