Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nilshartmann/osgi-jms-example
Simple example how to dynamically add and remove JMS message listeners from OSGi environment
https://github.com/nilshartmann/osgi-jms-example
Last synced: about 5 hours ago
JSON representation
Simple example how to dynamically add and remove JMS message listeners from OSGi environment
- Host: GitHub
- URL: https://github.com/nilshartmann/osgi-jms-example
- Owner: nilshartmann
- Created: 2011-04-26T14:12:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-04-26T14:24:57.000Z (over 13 years ago)
- Last Synced: 2024-05-15T15:40:28.727Z (6 months ago)
- Language: Java
- Homepage:
- Size: 9.81 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This example demonstrates how to add and remove JMS listeners dynamically in an OSGi container
How to use this example:
1. Clone the git repository
2. Import all projects into your Eclipse workspace
3. Open osgijms.target and click on 'Set as target platform'
The workspace should compile now
4. Start an ActiveMq Server that accepts connections at tcp://localhost:61616
5. Run the pre-configured "OSGi JMS-Example" launcher from the Run menu
The OSGi server starts and waits for JMS messages
6. Start the client by running Main in nh.osgijms.client
7. Send messages using the simple clientYou can start and stop the nh.osgijms.message_v1 and nh.osgijms.message_v2 bundles anytime you want. When they are started they wait for jms messages, when they are shutdown, they remove the JMS listener.