Skip to content

Producers

A producer is a client that publishes messages to FlowMQ.

The producer publishes a message with a topic. The topic is the message's logical routing address, and FlowMQ uses it to decide which destinations receive the message.

Responsibilities

  • Create the message payload
  • Set the target topic
  • Add optional headers
  • Publish the message to FlowMQ

Decoupling

Producers publish messages with topics.

FlowMQ decides where to deliver each message by matching its topic against destination filters. This allows you to add or change streams, queues, or subscriptions without changing producer logic.