torquebox-messaging 2.1.1-java → 2.1.2-java

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxMessaging
2
- VERSION = '2.1.1'
3
- MAVEN_VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
3
+ MAVEN_VERSION = '2.1.2'
4
4
  end
5
5
  begin
6
6
  require 'java'
@@ -32,6 +32,7 @@ module TorqueBox
32
32
  if (length = @jms_message.get_body_length) > 0
33
33
  bytes = Java::byte[length].new
34
34
  @jms_message.read_bytes( bytes )
35
+ @jms_message.reset
35
36
  Marshal.restore( String.from_java_bytes( bytes ) )
36
37
  end
37
38
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-messaging
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.1
5
+ version: 2.1.2
6
6
  platform: java
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-08-27 00:00:00 Z
13
+ date: 2012-09-24 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: torquebox-core
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.1.1
23
+ version: 2.1.2
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - "="
33
33
  - !ruby/object:Gem::Version
34
- version: 2.1.1
34
+ version: 2.1.2
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency
@@ -88,47 +88,47 @@ files:
88
88
  - lib/org.torquebox.messaging-client.rb
89
89
  - lib/gem_hook.rb
90
90
  - lib/torquebox/messaging.rb
91
- - lib/torquebox/messaging/marshal_message.rb
92
- - lib/torquebox/messaging/core.rb
91
+ - lib/torquebox/messaging/clojure_message.rb
92
+ - lib/torquebox/messaging/message_processor.rb
93
+ - lib/torquebox/messaging/backgroundable.rb
93
94
  - lib/torquebox/messaging/xa_session.rb
94
- - lib/torquebox/messaging/connection.rb
95
- - lib/torquebox/messaging/future_responder.rb
96
95
  - lib/torquebox/messaging/backgroundable_processor.rb
97
- - lib/torquebox/messaging/message_processor.rb
98
- - lib/torquebox/messaging/future_status.rb
96
+ - lib/torquebox/messaging/session.rb
97
+ - lib/torquebox/messaging/marshal_base64_message.rb
98
+ - lib/torquebox/messaging/const_missing.rb
99
+ - lib/torquebox/messaging/topic.rb
99
100
  - lib/torquebox/messaging/connection_factory.rb
100
- - lib/torquebox/messaging/xa_connection_factory.rb
101
- - lib/torquebox/messaging/message.rb
102
101
  - lib/torquebox/messaging/datamapper_marshaling.rb
103
- - lib/torquebox/messaging/topic.rb
104
- - lib/torquebox/messaging/marshal_base64_message.rb
105
- - lib/torquebox/messaging/text_message.rb
106
- - lib/torquebox/messaging/backgroundable.rb
107
- - lib/torquebox/messaging/json_message.rb
108
- - lib/torquebox/messaging/destination.rb
102
+ - lib/torquebox/messaging/future_status.rb
103
+ - lib/torquebox/messaging/future_responder.rb
104
+ - lib/torquebox/messaging/marshal_message.rb
105
+ - lib/torquebox/messaging/message.rb
106
+ - lib/torquebox/messaging/xa_connection.rb
109
107
  - lib/torquebox/messaging/echo_processor.rb
110
- - lib/torquebox/messaging/future.rb
111
- - lib/torquebox/messaging/clojure_message.rb
108
+ - lib/torquebox/messaging/connection.rb
112
109
  - lib/torquebox/messaging/task.rb
113
- - lib/torquebox/messaging/session.rb
114
110
  - lib/torquebox/messaging/queue.rb
115
- - lib/torquebox/messaging/const_missing.rb
116
- - lib/torquebox/messaging/xa_connection.rb
117
- - lib/torquebox/messaging/processor_middleware/chain.rb
118
- - lib/torquebox/messaging/processor_middleware/default_middleware.rb
111
+ - lib/torquebox/messaging/core.rb
112
+ - lib/torquebox/messaging/future.rb
113
+ - lib/torquebox/messaging/text_message.rb
114
+ - lib/torquebox/messaging/xa_connection_factory.rb
115
+ - lib/torquebox/messaging/json_message.rb
116
+ - lib/torquebox/messaging/destination.rb
119
117
  - lib/torquebox/messaging/processor_middleware/with_transaction.rb
118
+ - lib/torquebox/messaging/processor_middleware/default_middleware.rb
119
+ - lib/torquebox/messaging/processor_middleware/chain.rb
120
120
  - lib/torquebox/messaging/ext/javax_jms_queue_browser.rb
121
- - spec/backgroundable_spec.rb
122
- - spec/future_responder_spec.rb
121
+ - spec/message_spec.rb
123
122
  - spec/default_middleware_spec.rb
123
+ - spec/task_spec.rb
124
124
  - spec/message_processor_spec.rb
125
- - spec/chain_spec.rb
126
125
  - spec/future_spec.rb
127
- - spec/message_spec.rb
126
+ - spec/chain_spec.rb
127
+ - spec/future_responder_spec.rb
128
+ - spec/backgroundable_spec.rb
128
129
  - spec/destination_spec.rb
129
- - spec/datamapper_marshaling_spec.rb
130
- - spec/task_spec.rb
131
130
  - spec/json_message_spec.rb
131
+ - spec/datamapper_marshaling_spec.rb
132
132
  homepage: http://torquebox.org/
133
133
  licenses:
134
134
  - lgpl
@@ -157,14 +157,14 @@ signing_key:
157
157
  specification_version: 3
158
158
  summary: TorqueBox Messaging Client
159
159
  test_files:
160
- - spec/backgroundable_spec.rb
161
- - spec/future_responder_spec.rb
160
+ - spec/message_spec.rb
162
161
  - spec/default_middleware_spec.rb
162
+ - spec/task_spec.rb
163
163
  - spec/message_processor_spec.rb
164
- - spec/chain_spec.rb
165
164
  - spec/future_spec.rb
166
- - spec/message_spec.rb
165
+ - spec/chain_spec.rb
166
+ - spec/future_responder_spec.rb
167
+ - spec/backgroundable_spec.rb
167
168
  - spec/destination_spec.rb
168
- - spec/datamapper_marshaling_spec.rb
169
- - spec/task_spec.rb
170
169
  - spec/json_message_spec.rb
170
+ - spec/datamapper_marshaling_spec.rb