logjam_agent 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,11 +23,13 @@ module LogjamAgent
|
|
23
23
|
end
|
24
24
|
|
25
25
|
# TODO: mutex!
|
26
|
-
def send(msg)
|
26
|
+
def send(msg, engine)
|
27
27
|
return if paused?
|
28
28
|
begin
|
29
29
|
# $stderr.puts msg
|
30
|
-
|
30
|
+
key = @config[:routing_key]
|
31
|
+
key += ".#{engine}" if engine
|
32
|
+
exchange.publish(msg, :key => key, :persistent => false)
|
31
33
|
rescue Exception => exception
|
32
34
|
reraise_expectation_errors!
|
33
35
|
pause(exception)
|
data/lib/logjam_agent/request.rb
CHANGED
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|