Thanks. When a topic varies per message, would it not be better to be able
to set it per message. With the current design it seems one would need to
create a new session per message if you want to vary the topic? It seems
the only address that can be set into a message is the reply-to if i am not
mistaken.

On Wed, 29 Jun 2022, 15:19 Gordon Sim, <g...@redhat.com> wrote:

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

Reply via email to