You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Willem Jiang <wi...@gmail.com> on 2011/08/01 05:16:41 UTC

Re: activemq/spring component change in 2.8?

I did some work to upgrade the camel version of ActiveMQ to 2.8.0,
and I didn't change any activemq-camel code.
BTW, Camel 2.8.0 is using ActiveMQ 5.5.0 for testing, everything is 
looking good. I'm not sure if it relates to the scala that you use.


On 7/29/11 12:44 AM, Tommy Chheng wrote:
> I recently upgraded another app from 2.7.2 to 2.8. This app is using an
> activemq component and works correctly in 2.7.2.
>
> When I try to compile with 2.8.0, I'm getting the error below.  Looks like
> activemq-camel-5.5.0 is referring to a renamed class? Any ideas when this
> class went? I'm including camel-spring.
>
> error: value activeMQComponent is not a member of object
> org.apache.activemq.camel.component.ActiveMQComponent
> [ERROR] error: error while loading ActiveMQComponent, Missing dependency
> 'class org.springframework.jms.connection.SingleConnectionFactory', required
> by
> /Users/t/.m2/repository/org/apache/activemq/activemq-camel/5.5.0/activemq-camel-5.5.0.jar(org/apache/activemq/camel/component/ActiveMQComponent.class)
>
> val activeMQComponent = ActiveMQComponent.activeMQComponent(connectorUri)
>
> My maven dependencies are:
>
>      <dependency>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>camel-core</artifactId>
>        <version>${camel.version}</version>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>camel-spring</artifactId>
>        <version>${camel.version}</version>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.camel</groupId>
>        <artifactId>camel-jms</artifactId>
>        <version>${camel.version}</version>
>      </dependency>
>      <dependency>
>        <groupId>org.apache.activemq</groupId>
>        <artifactId>activemq-camel</artifactId>
>        <version>${activemq.version}</version>
>      </dependency>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang