Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Client - OSGI module layer support #328

Open
glassfishrobot opened this issue Aug 7, 2013 · 3 comments
Open

Java Client - OSGI module layer support #328

glassfishrobot opened this issue Aug 7, 2013 · 3 comments

Comments

@glassfishrobot
Copy link

The OpenMQ jars (imq.jar, imqbroker.jar, etc.) are not bundles (they do not include OSGI metadata in their manifests).

It is therefore difficult to make use of the Java client code from within an OSGI project because of this, as the com.sun.messaging packages cannot be resolved by the OSGI framework (Apache Felix) at runtime.

The standard solution would be to "repackage" the jars as bundles, using the maven bundle plugin. Even this is difficult, however, as the jars are no longer available separately on maven central. Post 4.5.2, a zip (mq-distribution) is instead provided making it hard to declare dependencies on the particular projects your require.

The lack of OSGI metadata seems to be in contrast to the other Glassfish sub-projects (e.g shoal, grizzly), so it can come as a surprise to the unsuspecting developer.

Environment

Glassfish

Affected Versions

[current]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by andrew_scully

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA MQ-328

@glassfishrobot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants