activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2702) Localize Spring-related classes in a separate module
Date Tue, 20 Jul 2010 12:15:54 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60789#action_60789
] 

Dejan Bosanac commented on AMQ-2702:
------------------------------------

With svn revision 965820, we don't have runtime dependency on Spring. XBeanBrokerService doesn't
implement ApplicationContextAware and we introduced BrokerContext which should be used to
make bean lookups container neutral. Currently there's only SpringBrokerContext implementation
that uses ApplicationContext to lookup for the beans. Similar classes can be implemented for
other environments, like Blueprint for example.

To enable usage of broker context in Spring environment, you should use something like

{code}<bean id="springContext" class="org.apache.activemq.spring.SpringBrokerContext" />

<broker brokerContext="#springContext">

  ... 

</broker>

{code}

> Localize Spring-related classes in a separate module
> ----------------------------------------------------
>
>                 Key: AMQ-2702
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2702
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.3.1
>            Reporter: Dejan Bosanac
>             Fix For: 5.4.1
>
>         Attachments: AMQ-2702.diff
>
>
> We should try reducing Spring dependency on the broker core (and other modules) and move
all Spring-related classes in a separate module.

-- 
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