org.torquebox.torquebox-messaging-container 1.0.0.Beta22-java → 1.0.0.Beta23-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/lib/{jboss-jms-api_1.1_spec-1.0.0.Beta1.jar → jboss-jms-api_1.1_spec-1.0.0.Final.jar} +0 -0
- data/lib/org.torquebox.torquebox-messaging-container.rb +3 -3
- data/lib/torquebox/messaging/message_broker.rb +1 -0
- data/lib/torquebox-messaging-container.jar +0 -0
- data/lib/torquebox-messaging-core.jar +0 -0
- data/lib/torquebox-messaging-int.jar +0 -0
- data/lib/torquebox-messaging-metadata.jar +0 -0
- data/spec/message_broker_spec.rb +2 -4
- data/spec/messaging.yml +21 -0
- metadata +13 -16
- data/spec/foo +0 -62
- data/spec/messaging.rb +0 -11
- data/spec/messaging.tq +0 -5
- data/spec/my_consumer.rb +0 -6
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module TorqueboxMessagingContainer
|
2
|
-
VERSION = '1.0.0.
|
3
|
-
MAVEN_VERSION = '1.0.0.
|
2
|
+
VERSION = '1.0.0.Beta23'
|
3
|
+
MAVEN_VERSION = '1.0.0.Beta23'
|
4
4
|
end
|
5
5
|
begin
|
6
6
|
require 'java'
|
@@ -10,7 +10,7 @@ begin
|
|
10
10
|
require File.dirname(__FILE__) + '/torquebox-messaging-int.jar'
|
11
11
|
require File.dirname(__FILE__) + '/torquebox-messaging-core.jar'
|
12
12
|
require File.dirname(__FILE__) + '/torquebox-messaging-metadata.jar'
|
13
|
-
require File.dirname(__FILE__) + '/jboss-jms-api_1.1_spec-1.0.0.
|
13
|
+
require File.dirname(__FILE__) + '/jboss-jms-api_1.1_spec-1.0.0.Final.jar'
|
14
14
|
require File.dirname(__FILE__) + '/hornetq-core-2.1.2.Final.jar'
|
15
15
|
require File.dirname(__FILE__) + '/hornetq-jms-2.1.2.Final.jar'
|
16
16
|
require File.dirname(__FILE__) + '/hornetq-logging-2.1.2.Final.jar'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/message_broker_spec.rb
CHANGED
@@ -62,10 +62,8 @@ describe TorqueBox::Messaging::MessageBroker do
|
|
62
62
|
@container.process_deployments(true)
|
63
63
|
end
|
64
64
|
|
65
|
-
it "should be able to deploy a messaging.
|
66
|
-
@deployments << @container.deploy( File.join( File.dirname(__FILE__), '
|
67
|
-
@container.process_deployments(true)
|
68
|
-
@deployments << @container.deploy( File.join( File.dirname(__FILE__), 'messaging.rb' ) )
|
65
|
+
it "should be able to deploy a messaging.yml" do
|
66
|
+
@deployments << @container.deploy( File.join( File.dirname(__FILE__), 'messaging.yml' ) )
|
69
67
|
@container.process_deployments(true)
|
70
68
|
end
|
71
69
|
|
data/spec/messaging.yml
ADDED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 1
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.0.
|
9
|
+
- Beta23
|
10
|
+
version: 1.0.0.Beta23
|
11
11
|
platform: java
|
12
12
|
authors: []
|
13
13
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-06 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -29,8 +29,8 @@ dependencies:
|
|
29
29
|
- 1
|
30
30
|
- 0
|
31
31
|
- 0
|
32
|
-
-
|
33
|
-
version: 1.0.0.
|
32
|
+
- Beta23
|
33
|
+
version: 1.0.0.Beta23
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -44,8 +44,8 @@ dependencies:
|
|
44
44
|
- 1
|
45
45
|
- 0
|
46
46
|
- 0
|
47
|
-
-
|
48
|
-
version: 1.0.0.
|
47
|
+
- Beta23
|
48
|
+
version: 1.0.0.Beta23
|
49
49
|
type: :development
|
50
50
|
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
@@ -59,8 +59,8 @@ dependencies:
|
|
59
59
|
- 1
|
60
60
|
- 0
|
61
61
|
- 0
|
62
|
-
-
|
63
|
-
version: 1.0.0.
|
62
|
+
- Beta23
|
63
|
+
version: 1.0.0.Beta23
|
64
64
|
type: :development
|
65
65
|
version_requirements: *id003
|
66
66
|
- !ruby/object:Gem::Dependency
|
@@ -74,8 +74,8 @@ dependencies:
|
|
74
74
|
- 1
|
75
75
|
- 0
|
76
76
|
- 0
|
77
|
-
-
|
78
|
-
version: 1.0.0.
|
77
|
+
- Beta23
|
78
|
+
version: 1.0.0.Beta23
|
79
79
|
type: :runtime
|
80
80
|
version_requirements: *id004
|
81
81
|
- !ruby/object:Gem::Dependency
|
@@ -110,7 +110,7 @@ files:
|
|
110
110
|
- lib/torquebox-messaging-int.jar
|
111
111
|
- lib/torquebox-messaging-core.jar
|
112
112
|
- lib/torquebox-messaging-metadata.jar
|
113
|
-
- lib/jboss-jms-api_1.1_spec-1.0.0.
|
113
|
+
- lib/jboss-jms-api_1.1_spec-1.0.0.Final.jar
|
114
114
|
- lib/hornetq-core-2.1.2.Final.jar
|
115
115
|
- lib/hornetq-jms-2.1.2.Final.jar
|
116
116
|
- lib/hornetq-logging-2.1.2.Final.jar
|
@@ -125,12 +125,9 @@ files:
|
|
125
125
|
- lib/torquebox/messaging/message_processor_host.rb
|
126
126
|
- lib/torquebox/messaging/commands/message_broker.rb
|
127
127
|
- lib/torquebox/messaging/commands/message_processor_host.rb
|
128
|
-
- spec/foo
|
129
128
|
- spec/message_broker_spec.rb
|
130
129
|
- spec/message_processor_host_spec.rb
|
131
|
-
- spec/messaging.
|
132
|
-
- spec/messaging.tq
|
133
|
-
- spec/my_consumer.rb
|
130
|
+
- spec/messaging.yml
|
134
131
|
- spec/queues.yml
|
135
132
|
has_rdoc: true
|
136
133
|
homepage: http://www.torquebox.org/torquebox-container-parent/torquebox-messaging-container/
|
data/spec/foo
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'torquebox/container/messaging'
|
3
|
-
|
4
|
-
describe TorqueBox::Container::Messaging do
|
5
|
-
|
6
|
-
=begin
|
7
|
-
it "should be instantiable" do
|
8
|
-
container = TorqueBox::Container::Messaging.new
|
9
|
-
end
|
10
|
-
|
11
|
-
it "should be startable" do
|
12
|
-
container = TorqueBox::Container::Messaging.new
|
13
|
-
container.start
|
14
|
-
puts "started container #{container}"
|
15
|
-
sleep(2)
|
16
|
-
puts "stopping container #{container}"
|
17
|
-
container.stop
|
18
|
-
end
|
19
|
-
|
20
|
-
|
21
|
-
it "should set up an RMI class provider" do
|
22
|
-
container = TorqueBox::Container::Messaging.new
|
23
|
-
container.start
|
24
|
-
provider = container['RMIClassProvider']
|
25
|
-
provider.should_not be_nil
|
26
|
-
puts provider.inspect
|
27
|
-
container.stop
|
28
|
-
end
|
29
|
-
|
30
|
-
it "should be able to deploy a queues.yml" do
|
31
|
-
container = TorqueBox::Container::Messaging.new
|
32
|
-
container.start
|
33
|
-
queues_yml = container.deploy( File.join( File.dirname(__FILE__), 'queues.yml' ) )
|
34
|
-
container.process_deployments( true )
|
35
|
-
container.undeploy( queues_yml )
|
36
|
-
container.stop
|
37
|
-
end
|
38
|
-
|
39
|
-
it "should deploy a JMSServerManager" do
|
40
|
-
container = TorqueBox::Container::Messaging.new
|
41
|
-
container.start
|
42
|
-
jms_server_manager = container['JMSServerManager']
|
43
|
-
jms_server_manager.should_not be_nil
|
44
|
-
container.stop
|
45
|
-
end
|
46
|
-
=end
|
47
|
-
|
48
|
-
it "should be able to deploy a messaging.rb" do
|
49
|
-
container = TorqueBox::Container::Messaging.new
|
50
|
-
container.start
|
51
|
-
puts "started container #{container}"
|
52
|
-
#queues_yml = container.deploy( File.join( File.dirname(__FILE__), 'queues.yml' ) )
|
53
|
-
messaging_rb = container.deploy( File.join( File.dirname(__FILE__), 'messaging.rb' ) )
|
54
|
-
container.process_deployments( true )
|
55
|
-
puts "stopping container #{container}"
|
56
|
-
container.undeploy( messaging_rb )
|
57
|
-
#container.undeploy( queues_yml )
|
58
|
-
container.stop
|
59
|
-
end
|
60
|
-
=begin
|
61
|
-
=end
|
62
|
-
end
|
data/spec/messaging.rb
DELETED
data/spec/messaging.tq
DELETED