Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jalian-systems/activemqlite
A thin wrapper around ActiveMQ for easy use of JMS
https://github.com/jalian-systems/activemqlite
Last synced: about 1 month ago
JSON representation
A thin wrapper around ActiveMQ for easy use of JMS
- Host: GitHub
- URL: https://github.com/jalian-systems/activemqlite
- Owner: jalian-systems
- License: apache-2.0
- Created: 2010-09-30T10:37:11.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-30T18:14:09.000Z (about 14 years ago)
- Last Synced: 2024-03-25T23:27:52.897Z (9 months ago)
- Language: Java
- Homepage: activemqlite.jaliansystems.com
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE.txt
Awesome Lists containing this project
README
What is ActiveMQLite?
ActiveMQLite is a thin layer which sits on top of ActiveMQ, allowing the user to export
arbitrary objects. The exported objects can be accessed from remote connections as if they
are local objects.There is only one entry point into ActiveMQLite - JMSConnection. Use JMSConnection#publish to export
local objects and JMSConnection#lookup to access remote objects. Use JMSConnection#exportInterface
to export interfaces that will be passed as object handles when used as parameters to methods or
return values.Note on serialization:
Serialization assumes that the objects are either exported interfaces (in which case object handles
are passed across) or Java bean objects.Typical Usage:
// Start a JMS BrokerServer (optional)
JMSConnection.startBrokerService(10212);// On the server side which publishes an object myObject implementing MyInterface
JMSConnection c = new JMSConnection("server", "tcp://localhost:10212");
c.publish(myObject, MyInterface.class);// On the server side
JMSConnection c = new JMSConnection("client", "tcp://localhost:10212");
MyInterface o = c.lookup("server", MyInterface.class);// ... Use o here.