Before using this project you need to install and start activemq and rabbitmq on your local.
- For activemq, you can follow this guide to do that.
- For rabbitmq, you can follow this guide to do that.
This project comprises of module :
- activemq-jms-example
- activemq-springbootjms-example
- rabbitmq-example
- rabbitmq-springboot-example
- This module comprises of a example which makes use of activemq as a messaging broker with plain java.
- It comprises examples of publishing messages to queue and receiving messages in synchronous and asynchronous ways.
- It also comprises of examples of publishing messages to topic and receiving messages from topic in synchronous and asynchronous ways with non-durable and durable subscribers.
- This module contains example of activemq with JMS and Spring boot.
- Activemq is used in standalone mode as well as in embedded mode(activemq comes with spring boot library in embedded form).
- It also comprises of examples of publishing messages to topic and receiving messages from topic in synchronous and asynchronous ways with non-durable and durable subscribers.
Note : standalone package is having all the examples with non-durable and durable subscription to topics, publishing to queues, however, embedded package has only publishing to queues but all the other things are just same as like standalone activemq examples.
- This module contains example of rabbitmq with plain java.
- It contains examples of publishing messages to queue directly.
- It contains examples of publishing messages to exchanges like fanout, topic and direct.
- This module contains example of rabbitmq with spring-boot.
- It contains examples of publishing messages to queue directly.
- It contains examples of publishing messages to exchanges like fanout, topic, headers and direct.
- It contains example of dead letter queue.