class Azure::ServiceBus::BrokeredMessage

Attributes

body[RW]

Public: Get/Set the body of the message

Returns a String

content_type[RW]

Public: Get/Set the ContentType of the message

Returns a String

correlation_id[RW]

Public: Get/Set the CorrelationID of the message

Returns a String

delivery_count[RW]

Public: Get/Set the DeliveryCount of the message

Returns an Integer

enqueued_time_utc[RW]

Public: Get/Set the EnqueuedTimeUtc for the message

Returns a DateTime

id[RW]

Public: Get/Set the MessageID of the message

Returns a String

label[RW]

Public: Get/Set the Label for the message

Returns a String

location[RW]

Public: Get/Set the URI of the locked message. This URI is needed to unlock or delete the message

Returns an URI

lock_token[RW]

Public: Get/Set the LockToken of the message

Returns a String (GUID)

locked_until_utc[RW]

Public: Get/Set the LockedUntilUtc for the message

Returns a DateTime

message_id[RW]

Public: Get/Set the MessageID of the message

Returns a String

properties[RW]

Public: Get/Set custom key-value properties of the message

Returns a Hash

reply_to[RW]

Public: Get/Set the ReplyTo for the message

Returns a String

reply_to_session_id[RW]

Public: Get/Set the ReplyToSessionId for the message

Returns a String

scheduled_enqueue_time_utc[RW]

Public: Get/Set the ScheduledEnqueueTimeUtc for the message

Returns a DateTime

sequence_number[RW]

Public: Get/Set the SequenceNumber for the message

Returns an Integer

session_id[RW]

Public: Get/Set the SessionID of the message

Returns a String

time_to_live[RW]

Public: Get/Set the TimeToLive for the message

Returns an Integer

to[RW]

Public: Get/Set the To field for the message

Returns a String

Public Class Methods

new(body, properties={}) { |self| ... } click to toggle source

Public: Constructor.

body - String. The body of the message properties - Hash. The properties of the message (optional)

# File lib/azure/service_bus/brokered_message.rb, line 117
def initialize(body, properties={})
  @body = body
  @properties = properties
  yield self if block_given?
end