Class: ActiveMessaging::Adapters::Adapter::Message
- Inherits:
-
BaseMessage
- Object
- BaseMessage
- ActiveMessaging::Adapters::Adapter::Message
- Defined in:
- lib/activemessaging/adapters/wmq.rb
Overview
Message class needed by a13g (based on the same Message class in Stomp adapter) Contains a reference to the MQ message object ;-) !
Instance Attribute Summary collapse
-
#wmq_message ⇒ Object
Returns the value of attribute wmq_message.
Attributes inherited from BaseMessage
#body, #destination, #headers, #id
Instance Method Summary collapse
-
#initialize(wmq_message, q_name) ⇒ Message
constructor
A new instance of Message.
Methods inherited from BaseMessage
#dup, #matches_subscription?, #to_s
Constructor Details
#initialize(wmq_message, q_name) ⇒ Message
Returns a new instance of Message.
152 153 154 155 |
# File 'lib/activemessaging/adapters/wmq.rb', line 152 def initialize(, q_name) super(.data, .descriptor[:msg_id], {'destination' => q_name}, q_name) @wmq_message = end |
Instance Attribute Details
#wmq_message ⇒ Object
Returns the value of attribute wmq_message.
150 151 152 |
# File 'lib/activemessaging/adapters/wmq.rb', line 150 def @wmq_message end |