You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org> on 2010/07/06 14:39:50 UTC
[jira] Created: (QPID-2720) Qpid broker can not run inside an OSGi
container
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-2720) Qpid broker can not run inside an OSGi
container
Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danushka Menikkumbura updated QPID-2720:
----------------------------------------
Attachment: QPID-2720.patch
Please review and apply the attached patch to resolve this issue.
Thanks,
Danushka
> 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: Danushka Menikkumbura
> Attachments: QPID-2720.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2720) Qpid broker can not run inside an
OSGi container
Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885523#action_12885523 ]
Danushka Menikkumbura commented on QPID-2720:
---------------------------------------------
How to make Qpid broker run inside an OSGi container?
Use newly added QpidActivator as the bundle activator when bundling Qpid.
Thanks,
Danushka
> 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: Danushka Menikkumbura
> Attachments: QPID-2720.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2720) Qpid broker can not run inside an
OSGi container
Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885567#action_12885567 ]
Andrew Kennedy commented on QPID-2720:
--------------------------------------
Danushka,
Thanks, this seems like the right approach, just a couple of stylistic points:
1. Can you remove the commented out /*activator.getContext()*/ and /*_activator*/ where it has actually been replaced
2. The _bundleContext field should be private with a public static setBundleContext method setter instead
Cheers
Andrew.
> 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: Danushka Menikkumbura
> Attachments: QPID-2720.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Assigned: (QPID-2720) Qpid broker can not run inside an OSGi
container
Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danushka Menikkumbura reassigned QPID-2720:
-------------------------------------------
Assignee: Danushka Menikkumbura
> 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: Danushka Menikkumbura
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Updated: (QPID-2720) Qpid broker can not run inside an OSGi
container
Posted by "Danushka Menikkumbura (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danushka Menikkumbura updated QPID-2720:
----------------------------------------
Attachment: QPID-2720-V2.patch
Attaching modified patch that conforms to coding standards and that includes changes pointed by Andrew.
Thanks,
Danushka
> 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: Danushka Menikkumbura
> Attachments: QPID-2720-V2.patch, QPID-2720.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2720) Qpid broker can not run inside an
OSGi container
Posted by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890767#action_12890767 ]
Sorin Suciu commented on QPID-2720:
-----------------------------------
Hi Danushka,
We already have an org.apache.qpid.server.virtualhost.plugin.Activator which would be called by OSGI.
Could we implement the same logic like you have in QpidActivator (eg detect whether we are embedded in an OSGI framework and proceed accordingly)? This would avoid duplication and make things clearer and cleaner. We could possibly move it to a different package in the future to eliminate any confusion.
How do you plan to start the broker and process the configuration? Lets have a chat on the list on this topic.
Thanks,
Sorin
> 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: Danushka Menikkumbura
> Attachments: QPID-2720-V2.patch, QPID-2720.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org