jack_rabbit 0.2.1-java → 0.2.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/dev/consumer.rb +1 -1
- data/lib/jack_rabbit/channel.rb +1 -1
- data/lib/jack_rabbit/version.rb +1 -1
- metadata +2 -2
data/dev/consumer.rb
CHANGED
@@ -11,7 +11,7 @@ Thread.abort_on_exception = true
|
|
11
11
|
|
12
12
|
subscriptions = [
|
13
13
|
# exchange key queue
|
14
|
-
[ 'jackrabbitdev', 'consumer.test', 'consumer.test', {} ]
|
14
|
+
[ 'jackrabbitdev', 'consumer.test', 'consumer.test', {prefetch: 10} ]
|
15
15
|
]
|
16
16
|
|
17
17
|
consumer = JackRabbit::Consumer.new(Logger.new($stdout))
|
data/lib/jack_rabbit/channel.rb
CHANGED
@@ -50,7 +50,7 @@ module JackRabbit
|
|
50
50
|
def open_channel(connection, options)
|
51
51
|
debug('opening channel...')
|
52
52
|
channel = connection.create_channel
|
53
|
-
channel.prefetch(options[:prefetch]) if options[:prefetch]
|
53
|
+
channel.prefetch=(options[:prefetch]) if options[:prefetch]
|
54
54
|
channel.add_shutdown_listener { |_reason| connection.reconnect }
|
55
55
|
@channel = channel
|
56
56
|
end
|
data/lib/jack_rabbit/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: jack_rabbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.2
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Sebastian Ohm
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hot_bunnies
|