rjack-qpid-client 0.8.0-java → 0.8.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +5 -0
- data/Rakefile +2 -3
- data/lib/rjack-qpid-client/base.rb +1 -1
- data/lib/rjack-qpid-client/qpid_jms_context.rb +7 -0
- metadata +16 -40
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -14,14 +14,13 @@ t = TarPit.new( 'rjack-qpid-client', QpidClient::VERSION, :java_platform )
|
|
14
14
|
t.specify do |h|
|
15
15
|
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
16
|
|
17
|
-
h.extra_deps += [ [ 'rjack-jms', '
|
17
|
+
h.extra_deps += [ [ 'rjack-jms', '>= 1.0.0', '< 1.2' ],
|
18
18
|
[ 'rjack-mina', '~> 1.0.10' ],
|
19
19
|
[ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ] ]
|
20
20
|
|
21
21
|
h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.18', '< 2.0' ]
|
22
22
|
|
23
|
-
h.
|
24
|
-
h.remote_rdoc_dir = "qpid-client"
|
23
|
+
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/qpid-client"
|
25
24
|
end
|
26
25
|
|
27
26
|
t.jars = %w[ common client ].map do |mod|
|
@@ -106,6 +106,8 @@ module RJack::QpidClient
|
|
106
106
|
# Throws javax.jms.JMSException, javax.naming.NamingException
|
107
107
|
def create_connection
|
108
108
|
connection_factory.create_connection
|
109
|
+
rescue NativeException => x
|
110
|
+
raise x.cause
|
109
111
|
end
|
110
112
|
|
111
113
|
# Create a
|
@@ -115,6 +117,8 @@ module RJack::QpidClient
|
|
115
117
|
# Throws javax.jms.JMSException
|
116
118
|
def create_session( connection )
|
117
119
|
connection.create_session( false, session_acknowledge_mode )
|
120
|
+
rescue NativeException => x
|
121
|
+
raise x.cause
|
118
122
|
end
|
119
123
|
|
120
124
|
# Lookup (and thus create) a
|
@@ -128,6 +132,8 @@ module RJack::QpidClient
|
|
128
132
|
[ name,
|
129
133
|
address_serialize( name, @destinations[ name ] ) ] )
|
130
134
|
context.lookup( name )
|
135
|
+
rescue NativeException => x
|
136
|
+
raise x.cause
|
131
137
|
end
|
132
138
|
|
133
139
|
# Close the JNDI context (no more lookups may be made.)
|
@@ -165,6 +171,7 @@ module RJack::QpidClient
|
|
165
171
|
subject = opts.delete( :subject )
|
166
172
|
out += '/' + subject.to_s if subject
|
167
173
|
out += '; ' + option_serialize( opts ) if opts
|
174
|
+
out
|
168
175
|
end
|
169
176
|
|
170
177
|
# Serialize addresses options Hash
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjack-qpid-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 8
|
8
|
-
- 0
|
9
|
-
version: 0.8.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.8.1
|
10
6
|
platform: java
|
11
7
|
authors:
|
12
8
|
- David Kellum
|
@@ -14,34 +10,31 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-03-10 00:00:00 -08:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
17
|
name: rjack-jms
|
22
18
|
prerelease: false
|
23
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
24
21
|
requirements:
|
25
|
-
- -
|
22
|
+
- - ">="
|
26
23
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 0
|
30
|
-
- 0
|
31
24
|
version: 1.0.0
|
25
|
+
- - <
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: "1.2"
|
32
28
|
type: :runtime
|
33
29
|
version_requirements: *id001
|
34
30
|
- !ruby/object:Gem::Dependency
|
35
31
|
name: rjack-mina
|
36
32
|
prerelease: false
|
37
33
|
requirement: &id002 !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
38
35
|
requirements:
|
39
36
|
- - ~>
|
40
37
|
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 1
|
43
|
-
- 0
|
44
|
-
- 10
|
45
38
|
version: 1.0.10
|
46
39
|
type: :runtime
|
47
40
|
version_requirements: *id002
|
@@ -49,19 +42,13 @@ dependencies:
|
|
49
42
|
name: rjack-slf4j
|
50
43
|
prerelease: false
|
51
44
|
requirement: &id003 !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
52
46
|
requirements:
|
53
47
|
- - ">="
|
54
48
|
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 1
|
57
|
-
- 5
|
58
|
-
- 8
|
59
49
|
version: 1.5.8
|
60
50
|
- - <
|
61
51
|
- !ruby/object:Gem::Version
|
62
|
-
segments:
|
63
|
-
- 1
|
64
|
-
- 7
|
65
52
|
version: "1.7"
|
66
53
|
type: :runtime
|
67
54
|
version_requirements: *id003
|
@@ -69,19 +56,13 @@ dependencies:
|
|
69
56
|
name: rjack-logback
|
70
57
|
prerelease: false
|
71
58
|
requirement: &id004 !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
72
60
|
requirements:
|
73
61
|
- - ">="
|
74
62
|
- !ruby/object:Gem::Version
|
75
|
-
segments:
|
76
|
-
- 0
|
77
|
-
- 9
|
78
|
-
- 18
|
79
63
|
version: 0.9.18
|
80
64
|
- - <
|
81
65
|
- !ruby/object:Gem::Version
|
82
|
-
segments:
|
83
|
-
- 2
|
84
|
-
- 0
|
85
66
|
version: "2.0"
|
86
67
|
type: :development
|
87
68
|
version_requirements: *id004
|
@@ -89,13 +70,10 @@ dependencies:
|
|
89
70
|
name: rjack-tarpit
|
90
71
|
prerelease: false
|
91
72
|
requirement: &id005 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
92
74
|
requirements:
|
93
75
|
- - ~>
|
94
76
|
- !ruby/object:Gem::Version
|
95
|
-
segments:
|
96
|
-
- 1
|
97
|
-
- 3
|
98
|
-
- 0
|
99
77
|
version: 1.3.0
|
100
78
|
type: :development
|
101
79
|
version_requirements: *id005
|
@@ -136,23 +114,21 @@ rdoc_options:
|
|
136
114
|
require_paths:
|
137
115
|
- lib
|
138
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
139
118
|
requirements:
|
140
119
|
- - ">="
|
141
120
|
- !ruby/object:Gem::Version
|
142
|
-
segments:
|
143
|
-
- 0
|
144
121
|
version: "0"
|
145
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
146
124
|
requirements:
|
147
125
|
- - ">="
|
148
126
|
- !ruby/object:Gem::Version
|
149
|
-
segments:
|
150
|
-
- 0
|
151
127
|
version: "0"
|
152
128
|
requirements: []
|
153
129
|
|
154
|
-
rubyforge_project: rjack
|
155
|
-
rubygems_version: 1.
|
130
|
+
rubyforge_project: rjack-qpid-client
|
131
|
+
rubygems_version: 1.5.1
|
156
132
|
signing_key:
|
157
133
|
specification_version: 3
|
158
134
|
summary: A gem packaging of the {Qpid}[http://qpid.apache.org/] AMQP Java Client.
|