mimi-messaging 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mimi/messaging.rb +6 -4
- data/lib/mimi/messaging/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cca5d45f4668e13cb9a7072fc1bdae16329f2d9
|
4
|
+
data.tar.gz: 45a1bd3e161c1072b0687ee59c6d943b6005360d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 587895823e3c9fa32f3a423db9e56c7820c10aeed71de238e83b232a94b5b19c34148b546995c0a63d3c3c731183069858245736eed6aae0f473fd3d8c214ef2
|
7
|
+
data.tar.gz: fe4278d21c1ddc4e31b739d45e907292fab595d1a77192ad8057333b47c1669695fa65db53e817a82fe3ff2cb1e7e5e927b7da7c0551364d17717e4d219fb2e4
|
data/lib/mimi/messaging.rb
CHANGED
@@ -452,14 +452,14 @@ module Mimi
|
|
452
452
|
end
|
453
453
|
private_class_method :start_message_processor
|
454
454
|
|
455
|
-
# Starts
|
455
|
+
# Starts all registered message processors at the adapter
|
456
456
|
#
|
457
457
|
def self.start_all_message_processors
|
458
458
|
message_processors.each { |p| start_message_processor(p) }
|
459
459
|
end
|
460
460
|
private_class_method :start_all_message_processors
|
461
461
|
|
462
|
-
# Stops
|
462
|
+
# Stops all registered message processors at the adapter
|
463
463
|
#
|
464
464
|
def self.stop_all_processors
|
465
465
|
log "#{self} stopping all message processors"
|
@@ -468,9 +468,11 @@ module Mimi
|
|
468
468
|
end
|
469
469
|
private_class_method :stop_all_processors
|
470
470
|
|
471
|
-
#
|
471
|
+
# Deregisters all message processors
|
472
472
|
#
|
473
|
-
def self.
|
473
|
+
def self.unregister_all_processors
|
474
|
+
stop_all_processors
|
475
|
+
message_processors.replace([])
|
474
476
|
end
|
475
477
|
end # module Messaging
|
476
478
|
end # module Mimi
|