jsparrow 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -3
- data/Rakefile +5 -0
- data/VERSION.yml +1 -1
- data/lib/connection.rb +2 -250
- data/lib/connection/configuration.rb +88 -0
- data/lib/connection/provider.rb +91 -0
- data/lib/interaction.rb +4 -0
- data/lib/{client.rb → interaction/client.rb} +17 -21
- data/lib/interaction/interactors.rb +70 -0
- data/lib/{listener.rb → interaction/listener.rb} +65 -77
- data/lib/{messaging.rb → interaction/messaging.rb} +20 -48
- data/lib/javaee.rb +164 -0
- data/lib/{jms → javaee}/javaee-1.5.jar +0 -0
- data/lib/{jms → javaee}/jms.jar +0 -0
- data/lib/{jms → javaee}/jsparrow-essential.jar +0 -0
- data/lib/jsparrow.rb +4 -8
- data/sample/sample_queue.rb +2 -2
- data/sample/sample_topic.rb +2 -2
- data/spec/client_spec.rb +4 -4
- data/spec/connection_spec.rb +13 -6
- data/spec/listener_spec.rb +43 -8
- data/spec/messaging_spec.rb +9 -9
- data/spec/spec_helper.rb +34 -18
- metadata +13 -9
- data/lib/jms.rb +0 -14
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsparrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Silva
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-07 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -27,16 +27,20 @@ files:
|
|
27
27
|
- README.rdoc
|
28
28
|
- Rakefile
|
29
29
|
- VERSION.yml
|
30
|
-
- lib/client.rb
|
31
30
|
- lib/connection.rb
|
31
|
+
- lib/connection/configuration.rb
|
32
|
+
- lib/connection/provider.rb
|
32
33
|
- lib/error.rb
|
33
|
-
- lib/
|
34
|
-
- lib/
|
35
|
-
- lib/
|
36
|
-
- lib/
|
34
|
+
- lib/interaction.rb
|
35
|
+
- lib/interaction/client.rb
|
36
|
+
- lib/interaction/interactors.rb
|
37
|
+
- lib/interaction/listener.rb
|
38
|
+
- lib/interaction/messaging.rb
|
39
|
+
- lib/javaee.rb
|
40
|
+
- lib/javaee/javaee-1.5.jar
|
41
|
+
- lib/javaee/jms.jar
|
42
|
+
- lib/javaee/jsparrow-essential.jar
|
37
43
|
- lib/jsparrow.rb
|
38
|
-
- lib/listener.rb
|
39
|
-
- lib/messaging.rb
|
40
44
|
- sample/sample_queue.rb
|
41
45
|
- sample/sample_topic.rb
|
42
46
|
- spec/client_spec.rb
|
data/lib/jms.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# Libs directory definition
|
2
|
-
JEE_LIB_DIR = File.expand_path(File.dirname(__FILE__)) + '/jms'
|
3
|
-
|
4
|
-
# Befor all, the fundamental require for us
|
5
|
-
require 'java'
|
6
|
-
|
7
|
-
# Lib to JMS integration (contain the META-INF/applicationContext.xml)
|
8
|
-
require "#{JEE_LIB_DIR}/jsparrow-essential.jar"
|
9
|
-
|
10
|
-
# Java EE
|
11
|
-
require "#{JEE_LIB_DIR}/javaee-1.5.jar"
|
12
|
-
|
13
|
-
# JMS API
|
14
|
-
require "#{JEE_LIB_DIR}/jms.jar"
|