activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <>
Subject [jira] Commented: (AMQ-2601) Make amq blueprint friendly
Date Tue, 20 Apr 2010 15:18:15 GMT


Dejan Bosanac commented on AMQ-2601:

I reverted a change that removed BeanFactory implementation from PooledConnectionFactoryBean
as this class IMHO is created just for that purposes. Incidentally, I created a new module
that should capture all spring related stuff and moved the class there

> Make amq blueprint friendly
> ---------------------------
>                 Key: AMQ-2601
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 5.3.1, 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.

View raw message