Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4412

camel commands do not find camel routes deployed through scr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2
    • Camel
    • None
    • % %
    • Hide

      1. Deploy the camel-scr archetype

      mvn archetype:generate \
      -DarchetypeGroupId=org.apache.camel.archetypes \
      -DarchetypeArtifactId=camel-archetype-scr \
      -DarchetypeVersion=2.15.4 \
      -DgroupId=myGroupId \
      -DartifactId=myArtifactId \
      -Dversion=1.0

      2. Update the pom to use our camel distro: <version>2.15.1.redhat-620133</version>

      3. features:install camel-scr

      4. osgi:install -s mvn:myGroupId/myArtifactId/1.0

      5. Find the bundle using scr:list

      JBossFuse:karaf@root> scr:list |grep myGroup
      [159 ] [ACTIVE ] myGroupId.myClass

      6. JBossFuse:karaf@root> camel:route-list returns nothing

      7. Log on to Hawtio and you can find the route running in the camel tab. Please see attached screen shot.

      In short, the camel commands should work.

      Show
      1. Deploy the camel-scr archetype mvn archetype:generate \ -DarchetypeGroupId=org.apache.camel.archetypes \ -DarchetypeArtifactId=camel-archetype-scr \ -DarchetypeVersion=2.15.4 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId \ -Dversion=1.0 2. Update the pom to use our camel distro: <version>2.15.1.redhat-620133</version> 3. features:install camel-scr 4. osgi:install -s mvn:myGroupId/myArtifactId/1.0 5. Find the bundle using scr:list JBossFuse:karaf@root> scr:list |grep myGroup [159 ] [ACTIVE ] myGroupId.myClass 6. JBossFuse:karaf@root> camel:route-list returns nothing 7. Log on to Hawtio and you can find the route running in the camel tab. Please see attached screen shot. In short, the camel commands should work.
    • 6.3 Sprint 1 (4-Jan->29-Jan)

      One of our customers deploys their routes using Service Component Runtime. During a debug session, I noted that none of our camel commands found these routes, however, they are visible in Hawtio. This seems like a bug to me.

            gertv_jira Gert Vanthienen (Inactive)
            rhn-support-sjavurek Susan Javurek
            Martin Basovnik Martin Basovnik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: