Method: Azure::ServiceBus::ServiceBusService#send_topic_message
- Defined in:
- lib/azure/service_bus/service_bus_service.rb
#send_topic_message(topic, message) ⇒ Object
Enqueues a message into the specified topic. The limit to the number of messages which may be present in the topic is governed by the message size in MaxTopicSizeInBytes. If this message causes the topic to exceed its quota, a quota exceeded error is returned and the message will be rejected.
Attributes
-
topic- Either a Azure::ServiceBus::Topic instance or a string of the topic name -
message- An Azure::ServiceBus::BrokeredMessage object containing message body and properties, or a string of the message body (a default BrokeredMessage will be created from the string).
335 336 337 |
# File 'lib/azure/service_bus/service_bus_service.rb', line 335 def (topic, ) (_name_for(topic), ) end |