rjack-qpid-client 0.14.2-java → 0.16.0-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/History.rdoc +2 -6
- data/Manifest.txt +2 -2
- data/lib/rjack-qpid-client/base.rb +2 -2
- data/lib/rjack-qpid-client/qpid-client-0.16.jar +0 -0
- data/lib/rjack-qpid-client/qpid-common-0.16.jar +0 -0
- data/lib/rjack-qpid-client/qpid_jms_context.rb +2 -3
- data/pom.xml +1 -1
- data/test/test_qpid_client.rb +0 -9
- metadata +123 -146
- data/lib/rjack-qpid-client/qpid-client-0.14.jar +0 -0
- data/lib/rjack-qpid-client/qpid-common-0.14.jar +0 -0
data/History.rdoc
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
=== 0.
|
2
|
-
*
|
3
|
-
correctly raises NameNotFoundException (#2)
|
4
|
-
|
5
|
-
=== 0.14.1 (2012-9-15)
|
6
|
-
* Upgrade/broaden to slf4j [1.6.5,1.8), logback ~> 1.2 (dev)
|
1
|
+
=== 0.16.0 (2012-7-18)
|
2
|
+
* Upgrade to Qpid java client 0.16
|
7
3
|
|
8
4
|
=== 0.14.0 (2012-2-12)
|
9
5
|
* Upgrade to Qpid java client 0.14 (mina no longer a dependency)
|
data/Manifest.txt
CHANGED
@@ -9,5 +9,5 @@ lib/rjack-qpid-client/base.rb
|
|
9
9
|
lib/rjack-qpid-client.rb
|
10
10
|
lib/rjack-qpid-client/qpid_jms_context.rb
|
11
11
|
test/test_qpid_client.rb
|
12
|
-
lib/rjack-qpid-client/qpid-client-0.
|
13
|
-
lib/rjack-qpid-client/qpid-common-0.
|
12
|
+
lib/rjack-qpid-client/qpid-client-0.16.jar
|
13
|
+
lib/rjack-qpid-client/qpid-common-0.16.jar
|
@@ -18,10 +18,10 @@ module RJack
|
|
18
18
|
module QpidClient
|
19
19
|
|
20
20
|
# QpidClient (java) version
|
21
|
-
QPID_VERSION = '0.
|
21
|
+
QPID_VERSION = '0.16'
|
22
22
|
|
23
23
|
# rjack gem version
|
24
|
-
VERSION = QPID_VERSION + '.
|
24
|
+
VERSION = QPID_VERSION + '.0'
|
25
25
|
|
26
26
|
LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
|
27
27
|
end
|
Binary file
|
Binary file
|
@@ -128,11 +128,10 @@ module RJack::QpidClient
|
|
128
128
|
#
|
129
129
|
# Throws javax.naming.NamingException
|
130
130
|
def lookup_destination( name )
|
131
|
-
dest = context.lookup( name )
|
132
131
|
@log.info( "Lookup of destinations[ '%s' ] =\n %s" %
|
133
132
|
[ name,
|
134
133
|
address_serialize( name, @destinations[ name ] ) ] )
|
135
|
-
|
134
|
+
context.lookup( name )
|
136
135
|
rescue NativeException => x
|
137
136
|
raise x.cause
|
138
137
|
end
|
@@ -166,7 +165,7 @@ module RJack::QpidClient
|
|
166
165
|
# Serialize destination
|
167
166
|
# {Addresses}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html]
|
168
167
|
# (new format). Reference: section 2.4.3.5
|
169
|
-
def address_serialize( name, opts =
|
168
|
+
def address_serialize( name, opts = nil )
|
170
169
|
opts = opts.dup
|
171
170
|
out = ( opts.delete( :address ) || name ).to_s
|
172
171
|
subject = opts.delete( :subject )
|
data/pom.xml
CHANGED
data/test/test_qpid_client.rb
CHANGED
@@ -74,15 +74,6 @@ class TestQpidClient < MiniTest::Unit::TestCase
|
|
74
74
|
con.close if con
|
75
75
|
end
|
76
76
|
|
77
|
-
def test_destination_not_found
|
78
|
-
con = nil
|
79
|
-
with_context do |ctx|
|
80
|
-
assert_raises( Java::javax.naming.NameNotFoundException ) do
|
81
|
-
ctx.lookup_destination( 'no-existe' )
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
77
|
def test_dest_exchange
|
87
78
|
con = nil
|
88
79
|
with_context do |ctx|
|
metadata
CHANGED
@@ -1,161 +1,138 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjack-qpid-client
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.16.0
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
- David Kellum
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- David Kellum
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
- !ruby/object:Gem::
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
-
requirements:
|
84
|
-
- - ~>
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: '2.2'
|
87
|
-
none: false
|
88
|
-
prerelease: false
|
89
|
-
type: :development
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: rjack-tarpit
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.0'
|
97
|
-
none: false
|
98
|
-
requirement: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '2.0'
|
103
|
-
none: false
|
104
|
-
prerelease: false
|
105
|
-
type: :development
|
106
|
-
description:
|
107
|
-
email:
|
108
|
-
- dek-oss@gravitext.com
|
12
|
+
|
13
|
+
date: 2012-07-18 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rjack-jms
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
23
|
+
- - <
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "1.2"
|
26
|
+
requirement: *id001
|
27
|
+
prerelease: false
|
28
|
+
type: :runtime
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rjack-slf4j
|
31
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.5.8
|
37
|
+
- - <
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: "1.7"
|
40
|
+
requirement: *id002
|
41
|
+
prerelease: false
|
42
|
+
type: :runtime
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rjack-logback
|
45
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
46
|
+
none: false
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.9.18
|
51
|
+
- - <
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "2.0"
|
54
|
+
requirement: *id003
|
55
|
+
prerelease: false
|
56
|
+
type: :development
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: minitest
|
59
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: "2.2"
|
65
|
+
requirement: *id004
|
66
|
+
prerelease: false
|
67
|
+
type: :development
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rjack-tarpit
|
70
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: "2.0"
|
76
|
+
requirement: *id005
|
77
|
+
prerelease: false
|
78
|
+
type: :development
|
79
|
+
description:
|
80
|
+
email:
|
81
|
+
- dek-oss@gravitext.com
|
109
82
|
executables: []
|
83
|
+
|
110
84
|
extensions: []
|
111
|
-
|
112
|
-
|
113
|
-
-
|
114
|
-
|
115
|
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
- lib/rjack-qpid-client.rb
|
124
|
-
- lib/rjack-qpid-client
|
125
|
-
-
|
126
|
-
-
|
127
|
-
- lib/rjack-qpid-client/qpid-
|
85
|
+
|
86
|
+
extra_rdoc_files:
|
87
|
+
- History.rdoc
|
88
|
+
- README.rdoc
|
89
|
+
files:
|
90
|
+
- History.rdoc
|
91
|
+
- Manifest.txt
|
92
|
+
- NOTICE.txt
|
93
|
+
- README.rdoc
|
94
|
+
- Rakefile
|
95
|
+
- assembly.xml
|
96
|
+
- pom.xml
|
97
|
+
- lib/rjack-qpid-client/base.rb
|
98
|
+
- lib/rjack-qpid-client.rb
|
99
|
+
- lib/rjack-qpid-client/qpid_jms_context.rb
|
100
|
+
- test/test_qpid_client.rb
|
101
|
+
- lib/rjack-qpid-client/qpid-client-0.16.jar
|
102
|
+
- lib/rjack-qpid-client/qpid-common-0.16.jar
|
128
103
|
homepage: http://rjack.rubyforge.org/qpid-client
|
129
104
|
licenses: []
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
- - ! '>='
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: '0'
|
141
|
-
segments:
|
142
|
-
- 0
|
143
|
-
hash: 2
|
105
|
+
|
106
|
+
post_install_message:
|
107
|
+
rdoc_options:
|
108
|
+
- --main
|
109
|
+
- README.rdoc
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
113
|
none: false
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
hash: 2
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
version: "0"
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
122
|
none: false
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 2
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
version: "0"
|
154
130
|
requirements: []
|
155
|
-
|
131
|
+
|
132
|
+
rubyforge_project:
|
156
133
|
rubygems_version: 1.8.24
|
157
|
-
signing_key:
|
134
|
+
signing_key:
|
158
135
|
specification_version: 3
|
159
136
|
summary: A gem packaging of the Qpid AMQP Java Client.
|
160
137
|
test_files: []
|
161
|
-
|
138
|
+
|
Binary file
|
Binary file
|