Class: JSparrow::Messaging::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/interaction/messaging.rb

Overview

Base class to define messangers (for queues and topics).

Direct Known Subclasses

Receiver, Sender

Instance Method Summary collapse

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