activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2601) Make amq blueprint friendly
Date Tue, 09 Feb 2010 19:49:32 GMT
Make amq blueprint friendly
---------------------------

                 Key: AMQ-2601
                 URL: https://issues.apache.org/activemq/browse/AMQ-2601
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.4.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 5.4.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message