Class: JSparrow::Messaging::Base
- Inherits:
-
Object
- Object
- JSparrow::Messaging::Base
- Defined in:
- lib/interaction/messaging.rb
Overview
Base class to define messangers (for queues and topics).
Instance Method Summary collapse
-
#initialize(connection_factory, destination) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(connection_factory, destination) ⇒ Base
Returns a new instance of Base.
15 16 17 18 |
# File 'lib/interaction/messaging.rb', line 15 def initialize(connection_factory, destination) @connection_factory = connection_factory @destination = destination end |