0

I have some code which uses RabbitMQ's classes (pasted below) to place an event message to RabbitMQ queue. By doing this, my code is tied to RabbitMQ.

com.rabbitmq.client.AMQP
com.rabbitmq.client.AMQP.BasicProperties.Builder
com.rabbitmq.client.Address
com.rabbitmq.client.Channel
com.rabbitmq.client.Connection
com.rabbitmq.client.ConnectionFactory
com.rabbitmq.client.Envelope
com.rabbitmq.client.GetResponse
com.rabbitmq.client.LongString

what are the classes or APIs I need to use in order to make my code generic? I should replace RabbitMQ with Apache ActiveMQ or any other MOM.

Jay
  • 21
  • 2

0 Answers0