org.torquebox.torquebox-messaging-container 1.0.0.Beta22-java → 1.0.0.Beta23-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module TorqueboxMessagingContainer
2
- VERSION = '1.0.0.Beta22'
3
- MAVEN_VERSION = '1.0.0.Beta22'
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.Beta1.jar'
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'
@@ -1,3 +1,4 @@
1
+ require 'org.torquebox.torquebox-container-foundation'
1
2
  require 'torquebox/container/foundation'
2
3
  require 'tmpdir'
3
4
 
Binary file
Binary file
Binary file
Binary file
@@ -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.rb" do
66
- @deployments << @container.deploy( File.join( File.dirname(__FILE__), 'queues.yml' ) )
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
 
@@ -0,0 +1,21 @@
1
+ /simple: Simple
2
+
3
+ /array:
4
+ - One
5
+ - Two: &foo
6
+ filter: "x > 18"
7
+ config:
8
+ x: ex
9
+ y: why
10
+ - Three
11
+
12
+ /hash:
13
+ A:
14
+ B:
15
+ filter: "y < 18"
16
+ config:
17
+ h: ache
18
+ i: eye
19
+ Two:
20
+ <<: *foo
21
+
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 0
8
8
  - 0
9
- - Beta22
10
- version: 1.0.0.Beta22
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-09-30 00:00:00 -05:00
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
- - Beta22
33
- version: 1.0.0.Beta22
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
- - Beta22
48
- version: 1.0.0.Beta22
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
- - Beta22
63
- version: 1.0.0.Beta22
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
- - Beta22
78
- version: 1.0.0.Beta22
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.Beta1.jar
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.rb
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
@@ -1,11 +0,0 @@
1
-
2
- FUCK FUCK FUCK{
3
- class MyConsumer
4
- def process!(msg)
5
- puts "processing #{msg.inspect}"
6
- end
7
- end
8
-
9
- TorqueBox::Messaging::Gateway.define do |gateway|
10
- gateway.subscribe MyConsumer, '/queues/foo'
11
- end
data/spec/messaging.tq DELETED
@@ -1,5 +0,0 @@
1
-
2
- /queues/foo:
3
- MyConsumer:
4
- config:
5
- nothing: here
data/spec/my_consumer.rb DELETED
@@ -1,6 +0,0 @@
1
-
2
- class MyConsumer
3
- def process!(msg)
4
- puts "processing #{msg.text}"
5
- end
6
- end