concept contract in category rabbitmq

appears as: contract
RabbitMQ in Depth

This is an excerpt from Manning's book RabbitMQ in Depth.

Properties are powerful tools in composing your message. They can be used to create a contract between publishers and consumers about the content of the message, allowing for a large amount of specificity about the message. You’ll learn about Basic.Properties and the various possible uses for each field the data structure can carry in chapter 3.

  • Using the type property to define a contract with publishers and consumers