2 Replies Latest reply on Oct 3, 2010 11:45 AM by philwaldron

    Running Camel within ActiveMQ

    philwaldron

      Hi, I have succesfully built several routes using Maven including JMS Weblogic and FTP.

       

      I am now trying to run the same camel.xml directly from ActiveMQ. I have copied all the class to the activemq class path. This all works including WebLogic with the exception of FTP.

       

      Error Message:

       

      Failed to resolve endpoint: ftp://................... due to: No component found with scheme: ftp.

       

      I realise that with Maven I had to add an dependecy so I assume I will need to do the same with ActiceMQ. I have read the MEAP ApacheMQ and Camel Books and searched the Web to no avail.

       

      I guess its a case of a camel-ftp.jar, but I cannot find it

       

      Any help appreciated

       

      Phil

        • 1. Re: Running Camel within ActiveMQ
          davsclaus

          The camel-ftp.jar is in the Apache Camel distribution which you can download from Apache.

           

          You will also need a number of 3rd party .jars for the FTP libraries. If using maven it can download those for you automatic.

           

          His is a report from my laptop. You only need the ones with compile scope.

           

          [INFO] Building Camel :: FTP
          [INFO]    task-segment: [dependency:list]
          [INFO] ------------------------------------------------------------------------
          [INFO] [dependency:list {execution: default-cli}]
          [INFO] 
          [INFO] The following files have been resolved:
          [INFO]    aopalliance:aopalliance:jar:1.0:test
          [INFO]    bouncycastle:bcprov-jdk15:jar:140:test
          [INFO]    com.jcraft:jsch:jar:0.1.43:compile
          [INFO]    commons-logging:commons-logging:jar:1.1.1:test
          [INFO]    commons-logging:commons-logging-api:jar:1.1:compile
          [INFO]    commons-net:commons-net:jar:2.0:compile
          [INFO]    junit:junit:jar:4.8.1:test
          [INFO]    log4j:log4j:jar:1.2.16:test
          [INFO]    org.apache.camel:camel-core:jar:2.5-SNAPSHOT:compile
          [INFO]    org.apache.camel:camel-spring:jar:2.5-SNAPSHOT:test
          [INFO]    org.apache.camel:camel-test:jar:2.5-SNAPSHOT:test
          [INFO]    org.apache.ftpserver:ftplet-api:jar:1.0.4:test
          [INFO]    org.apache.ftpserver:ftpserver-core:jar:1.0.4:test
          [INFO]    org.apache.mina:mina-core:jar:2.0.0:test
          [INFO]    org.apache.sshd:sshd-core:jar:0.4.0:test
          [INFO]    org.fusesource.commonman:commons-management:jar:1.0:compile
          [INFO]    org.slf4j:slf4j-api:jar:1.6.1:test
          [INFO]    org.slf4j:slf4j-log4j12:jar:1.6.1:test
          [INFO]    org.springframework:spring-aop:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-asm:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-beans:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-context:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-core:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-expression:jar:3.0.4.RELEASE:test
          [INFO]    org.springframework:spring-tx:jar:3.0.4.RELEASE:test
          
          

           

          • 2. Re: Running Camel within ActiveMQ
            philwaldron

            Thanks for ur prompt Reply.

             

            I will try tomorrow.

             

            Phil