Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2601

Make amq blueprint friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4.0
    • 5.3.1, 5.4.0
    • Broker
    • None

    Description

      Geronimo would like to run activemq under osgi blueprint rather than spring, using xbean-blueprint (not yet released). To do this we need to reduce the compilation dependencies on spring classes. Fortunately for the classes needed for blueprint, the spring dependencies are the moderately obsolete lifecycle interfaces that can be repaced by common annotations PostContstruct and PreDeploy and the xbean javadoc annotations InitMethod and DestroyMethod. While xbean-spring does not recognize the common annotations, it does recognize the javadoc annotations. So...

      xbean-spring plans will see the javadoc annotations and work
      plain spring plans will see the common annotations and work
      xbean-blueprint plans will see both and work.

      I've included the geronimo annotation jar in the build and activemq-all assembly so this should work on java 5 as well as 6 (where they are included in the jdk).

      In addition, to run under osgi, the org.apache.activemq.util.osgi.Activator needs to be installed. Since it might conceivably be disruptive to put this in as the activem-core bundle activator, I've modified it so it can be installed as a blueprint bean.

      Attachments

        Issue Links

          Activity

            People

              djencks David Jencks
              djencks David Jencks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: