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()

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)


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?

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.

Reply via email to