O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required