Exchanging RabbitMQ messages with Qpid

In this recipe, we will see how the RabbitMQ client can interoperate with Apache Qpid.

Getting ready

You need to download Qpid from http://qpid.apache.org/download.html; we have used the Java version.

How to do it…

  1. Get a Java example from the previous chapter, for example, the Broadcasting messages or Working with message routing using topic exchanges recipe in Chapter 1, Working with AMQP.
  2. Launch the Qpid server.
  3. Execute the clients.

How it works…

When you execute the client from the example in the Broadcasting messages recipe in Chapter 1, Working with AMQP, the server has the same RabbitMQ behavior as you can see in the following screenshot:

Tip

QPid uses the same RabbitMQ port, so change the port or simply shut ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.