ServiceMix 4
  1. ServiceMix 4
  2. SMX4-759

Apache ServiceMix should ship a camel-activemq example

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: Examples
    • Labels:
      None

      Description

      I cannot find an example in Apache ServiceMix which shows how to use ActiveMQ with Camel. Eg a simple route between 2 JMS queues, maybe with a content based router, or filter in between.

      There may be some old cruft in the JBI examples, but I want people to look at the new OSGi and using plain Camel.

      1. camel-blueprint-activemq.tar.gz
        4 kB
        Claus Ibsen
      2. SMX4-759.txt
        0.8 kB
        filippo balicchia
      3. SMX4-759.camel-blueprint.patch.txt
        0.8 kB
        filippo balicchia

        Activity

        Hide
        Gert Vanthienen added a comment -

        There's a small sample route in the new quickstart guide (http://servicemix.apache.org/docs/4.3.0-SNAPSHOT/quickstart/activemq.html) to get people looking at plain Camel, OSGi and ActiveMQ from their first steps in ServiceMix.

        BTW, we also welcome patches if you want to take a stab at creating this example

        Show
        Gert Vanthienen added a comment - There's a small sample route in the new quickstart guide ( http://servicemix.apache.org/docs/4.3.0-SNAPSHOT/quickstart/activemq.html ) to get people looking at plain Camel, OSGi and ActiveMQ from their first steps in ServiceMix. BTW, we also welcome patches if you want to take a stab at creating this example
        Hide
        Claus Ibsen added a comment -

        An example

        Show
        Claus Ibsen added a comment - An example
        Hide
        Claus Ibsen added a comment -

        Gert I have added an example. It's based on the blueprint example. I did not run it as I haven't all the SMX source checked out and I didn't want to fiddle with that currently.

        Also I noticed a typo in the camel-blueprint/README.txt file. It refers back to the camel-osgi example.

        And in the pom.xml there is some stuff about org.apache.camel.osgi. I don't think we got that package anymore. Maybe the pom.xml can be more simpler?

        Show
        Claus Ibsen added a comment - Gert I have added an example. It's based on the blueprint example. I did not run it as I haven't all the SMX source checked out and I didn't want to fiddle with that currently. Also I noticed a typo in the camel-blueprint/README.txt file. It refers back to the camel-osgi example. And in the pom.xml there is some stuff about org.apache.camel.osgi. I don't think we got that package anymore. Maybe the pom.xml can be more simpler?
        Hide
        filippo balicchia added a comment -

        Gert,
        Is this issue still current ?
        From the trunk I think no but...

        Show
        filippo balicchia added a comment - Gert, Is this issue still current ? From the trunk I think no but...
        Hide
        Gert Vanthienen added a comment -

        @filippo balicchia - it looks like most of the work is done, however Claus' latest comment probably still needs addressing. Fancy providing a patch for that?

        For the org.apache.camel.osgi package, that seems to be imported from the camel-spring so we can probably get rid of that

        karaf@root> packages:imports 192
        Apache Aries Blueprint Bundle (10): org.osgi.service.blueprint; version="1.0.1"
        geronimo-jms_1.1_spec (55): javax.jms; version="1.1.0"
        camel-spring (98): org.apache.camel.osgi; version="2.10.2"
        activemq-camel (125): org.apache.activemq.camel.component; version="5.7.0"
        
        Show
        Gert Vanthienen added a comment - @ filippo balicchia - it looks like most of the work is done, however Claus' latest comment probably still needs addressing. Fancy providing a patch for that? For the org.apache.camel.osgi package, that seems to be imported from the camel-spring so we can probably get rid of that karaf@root> packages:imports 192 Apache Aries Blueprint Bundle (10): org.osgi.service.blueprint; version="1.0.1" geronimo-jms_1.1_spec (55): javax.jms; version="1.1.0" camel-spring (98): org.apache.camel.osgi; version="2.10.2" activemq-camel (125): org.apache.activemq.camel.component; version="5.7.0"

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development