Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

How to use the property BrokeredMessage.To

$
0
0

What is the purpose with the property BrokeredMessage.To and how shall it be used?

Normally when creating a MessageSender you have to provide the destination (the address) where
the sender will put the messages sent. But, can that be overriden by setting the To property on
the BrokeredMessage?

My usecase is that I really want to create a generic MessageSender which is not allocated to a certian
destination. I like to provide the destination when sending the message.
(Compare MessageProducer() in JMS).


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>