Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2155

Client is not executed while deploying camel-example-jms-file into service mix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • examples
    • None
    • Patch Available

    Description

      1. Installed latest apache-camel
      2. Applied the attached patch on the samples.
      3. Compile the sample (camel-example-jms-file) using mvn compile
      4. Install the camel sample into repository using "mvn clean install" command
      5. Open the package (i.e. jar file) from <USERPROFILE>\.m2\repository\org\apache\camel\camel-example-jms-file\<Camel-Version> folder and open the Manifest.MF file located in META-INF folder.
      6. Added the below packages in Import-Packge list. (We are adding the below packges because, without these the deployment is failed with class not found exceptions)
      org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool
      7. Save the Manifest.MF and the jar file as well.
      8. Started the servicemix server
      9. Installed below bundles into servicemix
      osgi:install wrap:org.apache.activemq/activemq-camel/5.3.1.0M1-fuse
      osgi:install wrap:mvn:org.apache.camel/camel-example-jms-file/2.0.0-psc-01-00M2
      10. Start the bundles
      11. Observe that the bundles are started and active. No exceptions observed in the console and Karaf.log file.
      12. Observe that, the JmsToFileClient.java is not used any where in the route. This code actually sends some test messages to the queue(test.queue) which is used for testing the sample.

      Attachments

        1. example-new.patch
          109 kB
          Sailaja

        Activity

          People

            njiang Willem Jiang
            spindipr Sailaja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: