On Wed, Jun 29, 2022 at 1:45 PM Tiaan Wessels <tiaanwess...@gmail.com> wrote: > When AMQP 1.0 is activated in a QPID Messaging API C++ program, what is the > correct way to set the topic of a message to be sent to a broker ? > The protocol is activated by protocol:'amqp1.0' in connection options. > Also. is there a way to set the exchange to which the message should be > delivered ?
AMQP 1.0 doesn't have the concept of exchange or topic. The address of the sender or receiver indicates what 'thing' it should be delivered to (AMQP 1.0 calls these 'nodes'). You can set a requested capability alongside the address. In the qpid::messaging client you do that with an address like this: foo; {node: {type: topic}}. Whether (and how) the broker (or peer more generally) interprets that depends on what you are connecting to. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org