You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2010/07/20 14:15:54 UTC

[jira] Commented: (AMQ-2702) Localize Spring-related classes in a separate module

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