eventq_rabbitmq 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d74cbc21370d4886245ee0447b69ddce3a7d4003
|
4
|
+
data.tar.gz: 25a3644700b1a360c9517d7982568517055d0c03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c69c1fd755c26246a474699e53b11226ee39290fda31504131820af326ee4f9edd2debff61e243e0a1aa1d928dcec7c25bc43f931ad437e466a41069d0c4ba0
|
7
|
+
data.tar.gz: 55289d2d304456bec08ad44ecc79583b004d0d34320fec9c4a3828e7353957139457c50e6c84bf1c5b5fa8c2d2d1d9c5f712f1c54b9636dd84f2457086f19a4d
|
@@ -3,7 +3,7 @@ module EventQ
|
|
3
3
|
class EventQClient
|
4
4
|
|
5
5
|
def initialize(options={})
|
6
|
-
@client = QueueClient.new
|
6
|
+
@client = options[:client] || QueueClient.new
|
7
7
|
@queue_manager = QueueManager.new
|
8
8
|
@event_raised_exchange = EventRaisedExchange.new
|
9
9
|
@subscription_manager = options[:subscription_manager] || SubscriptionManager.new
|
@@ -2,8 +2,8 @@ module EventQ
|
|
2
2
|
module RabbitMq
|
3
3
|
class SubscriptionManager
|
4
4
|
|
5
|
-
def initialize
|
6
|
-
@client = QueueClient.new
|
5
|
+
def initialize(options = {})
|
6
|
+
@client = options[:client] || QueueClient.new
|
7
7
|
@queue_manager = QueueManager.new
|
8
8
|
@event_raised_exchange = EventQ::EventRaisedExchange.new
|
9
9
|
end
|