Assuming the server/broker you are using supports a fairly widely used
extension for 'anonymous relay', you can use this to create an
anonymous sender and convey the destination on the messages, by using
a null target "address" when opening the sender link, and then
ensuring the "to" field on the message Header section contains the
address you want the message to go to.

You can alternatively have multiple senders open on the same session
at the same time (or different sessions) on the connection if just
varying within a constrained set of addresses.

On Tue, 4 Jul 2023 at 19:48, Tiaan Wessels <tiaanwess...@gmail.com> wrote:
>
> Hi,
> How do i dynamically vary the address to which i send a message over the
> lifetime of a connection to a broker ?
> It seems i need to use the connection to create a new sender each time and
> wait for on_sendable for the new sender ?
> If this is indeed the only way it would seem a bit cumbersome for high
> volume data being delivered to a range of addresses on a broker over the
> same connection.
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to