[ 
https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063902#comment-13063902
 ] 

Robbie Gemmell commented on QPID-2720:
--------------------------------------

Hi Danushka,

The work I have referenced in some of your other JIRAs, refactoring of the 
broker startup via QPID-2815, would seem to offer a way to resolve the above 
issue with your patch.

Instead of using a static method to manipulate the PluginManager directly, you 
could add a method on the BrokerOptions object to pass the context, or 
alternatively an instance method to the Broker object that could be used to set 
the BundleContext before starting the instance, which could then be provided 
to/sourced by the PluginManager for that Broker instance. This would allow 
leveraging the new Broker + BrokerOptions combination as a singluar front end 
for starting the broker and configuring it to function as desired.

Regards,
Robbie

> Qpid broker can not run inside an OSGi container
> ------------------------------------------------
>
>                 Key: QPID-2720
>                 URL: https://issues.apache.org/jira/browse/QPID-2720
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Danushka Menikkumbura
>            Assignee: Robbie Gemmell
>             Fix For: 0.13
>
>         Attachments: QPID-2720-V2.patch, QPID-2720-V3.patch, QPID-2720.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to