A JMS 1.1 implementation which layers on top of HazelcastMQ Core. While not a full implementation of the specification, connections, sessions, producers, and consumers on queues and topics are implemented. HazelcastMQ JMS can be used with the Spring Framework's JmsTemplate or Apache Camel's JMS Component to provide a drop-in replacement for existing brokers.
- JMS 1.1 APIs implemented
- Send and receive from queues, topics, and temporary queues
- Transactional message sending (per thread, not session)
- Text and Bytes message types
- Message expiration (in the consumer only)
- Connection start/stop suspended consumer delivery
- Object or Stream message types
- Persistence selection per message
- Queue or topic browsing
- Probably 100 other things I've missed
- Transactional message reception
- Message selectors
- Durable subscriptions
- Message priority
Using HazelcastMQ JMS is a layer on the Core functionality and is similar to using any JMS 1.1 provider:
- Create a connection factory
- Create a connection
- Create a session
- Create a message producer or consumer
- Send or receive messages
Of course you can skip a lot of the JMS API by using support libraries such as Spring's JMSTemplate.
View the example.