OK, i need to withdraw my statement one reply ago. 

Lars was right: the only thing missing was the camel-jms library in
camel-su's poms.xml! 
While experimenting with the source-code in the meanwhile i misspelt an uri
and that lead to the same error again. Everything is working fine now.

Thanx again to all for the quick reactions!

Cheers, Toni



James.Strachan wrote:
> 
> Have you added ActiveMQ 5.0.0 as well as a dependency btw?
> 
> On 15/02/2008, apendo <[EMAIL PROTECTED]> wrote:
>>
>>  Hi Lars, thnx for the quick reply.
>>
>>
>>
>>  lhe wrote:
>>  >
>>  > Toni,
>>  >
>>  > have you got the
>>  >
>>  > <dependency>
>>  >      <groupId>org.apache.camel</groupId>
>>  >      <artifactId>camel-jms</artifactId>
>>  >      <version>${camel-version}</version>
>>  >    </dependency>
>>  >
>>  > in your SU's pom.xml dependencies section?
>>  >
>>
>>
>> No, i missed to do that but adding this dependency to the camel-su
>> changed
>>  nothing, i'm still getting the same error.
>>
>>  Here is the SU's pom.xml:
>>  <?xml version="1.0" encoding="UTF-8"?><project>
>>   <parent>
>>     <artifactId>parent</artifactId>
>>     <groupId>org.apache.servicemix.tutorial</groupId>
>>     <version>1.0-SNAPSHOT</version>
>>   </parent>
>>   <modelVersion>4.0.0</modelVersion>
>>   <groupId>org.apache.servicemix.tutorial</groupId>
>>   <artifactId>tutorial-camel-su</artifactId>
>>   <packaging>jbi-service-unit</packaging>
>>   <name>Tutorial :: Camel :: SU</name>
>>   <version>1.0-SNAPSHOT</version>
>>   <url>http://org.apache.tutorial</url>
>>   <build>
>>     <defaultGoal>install</defaultGoal>
>>     <plugins>
>>       <plugin>
>>         <artifactId>maven-compiler-plugin</artifactId>
>>         <configuration>
>>           <source>1.5</source>
>>           <target>1.5</target>
>>         </configuration>
>>       </plugin>
>>       <plugin>
>>         <groupId>org.apache.servicemix.tooling</groupId>
>>         <artifactId>jbi-maven-plugin</artifactId>
>>         <version>${servicemix-version}</version>
>>         <extensions>true</extensions>
>>       </plugin>
>>       <plugin>
>>
>>         <groupId>org.apache.camel</groupId>
>>
>>         <artifactId>camel-maven-plugin</artifactId>
>>         <version>${camel-version}</version>
>>       </plugin>
>>     </plugins>
>>   </build>
>>  ...
>>   <dependencies>
>>     <dependency>
>>       <groupId>org.apache.servicemix</groupId>
>>       <artifactId>servicemix-camel</artifactId>
>>       <version>${servicemix-version}</version>
>>     </dependency>
>>
>>     <dependency>
>>       <groupId>org.apache.camel</groupId>
>>       <artifactId>camel-jms</artifactId>
>>       <version>${camel-version}</version>
>>     </dependency>
>>
>>     <dependency>
>>       <groupId>org.apache.servicemix</groupId>
>>       <artifactId>servicemix-core</artifactId>
>>       <version>${servicemix-version}</version>
>>       <scope>provided</scope>
>>     </dependency>
>>   </dependencies>
>>   <properties>
>>     <servicemix-version>3.2.1</servicemix-version>
>>     <camel-version>1.2.0</camel-version>
>>   </properties>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/Howto-connect-a-Camel-SU-to-an-activemq-Topic-tp15501099s12049p15502023.html
>>
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Howto-connect-a-Camel-SU-to-an-activemq-Topic-tp15501099s12049p15502947.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to