gz_activemessaging 0.13.1
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.
- checksums.yaml +15 -0
- data/.travis.yml +40 -0
- data/Appraisals +19 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +87 -0
- data/README.md +27 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/activemessaging.gemspec +137 -0
- data/gemfiles/activesupport23.gemfile +10 -0
- data/gemfiles/activesupport23.gemfile.lock +51 -0
- data/gemfiles/activesupport30.gemfile +11 -0
- data/gemfiles/activesupport30.gemfile.lock +53 -0
- data/gemfiles/activesupport31.gemfile +11 -0
- data/gemfiles/activesupport31.gemfile.lock +55 -0
- data/gemfiles/activesupport32.gemfile +10 -0
- data/gemfiles/activesupport32.gemfile.lock +55 -0
- data/generators/a13g_test_harness/a13g_test_harness_generator.rb +19 -0
- data/generators/a13g_test_harness/templates/active_messaging_test.rhtml +13 -0
- data/generators/a13g_test_harness/templates/active_messaging_test_controller.rb +29 -0
- data/generators/a13g_test_harness/templates/index.rhtml +17 -0
- data/generators/filter/USAGE +0 -0
- data/generators/filter/filter_generator.rb +19 -0
- data/generators/filter/templates/filter.rb +12 -0
- data/generators/filter/templates/filter_test.rb +28 -0
- data/generators/processor/USAGE +8 -0
- data/generators/processor/processor_generator.rb +31 -0
- data/generators/processor/templates/application_processor.rb +18 -0
- data/generators/processor/templates/broker.yml +140 -0
- data/generators/processor/templates/jruby_poller +117 -0
- data/generators/processor/templates/messaging.rb +12 -0
- data/generators/processor/templates/poller +25 -0
- data/generators/processor/templates/poller.rb +26 -0
- data/generators/processor/templates/processor.rb +8 -0
- data/generators/processor/templates/processor_test.rb +20 -0
- data/generators/tracer/USAGE +8 -0
- data/generators/tracer/templates/controller.rb +14 -0
- data/generators/tracer/templates/helper.rb +2 -0
- data/generators/tracer/templates/index.rhtml +4 -0
- data/generators/tracer/templates/layout.rhtml +16 -0
- data/generators/tracer/templates/trace_processor.rb +100 -0
- data/generators/tracer/tracer_generator.rb +25 -0
- data/init.rb +1 -0
- data/lib/activemessaging.rb +133 -0
- data/lib/activemessaging/adapter.rb +20 -0
- data/lib/activemessaging/adapters/amqp.rb +215 -0
- data/lib/activemessaging/adapters/asqs.rb +487 -0
- data/lib/activemessaging/adapters/base.rb +71 -0
- data/lib/activemessaging/adapters/beanstalk.rb +88 -0
- data/lib/activemessaging/adapters/jms.rb +243 -0
- data/lib/activemessaging/adapters/reliable_msg.rb +186 -0
- data/lib/activemessaging/adapters/stomp.rb +212 -0
- data/lib/activemessaging/adapters/synch.rb +95 -0
- data/lib/activemessaging/adapters/test.rb +137 -0
- data/lib/activemessaging/adapters/wmq.rb +193 -0
- data/lib/activemessaging/base_message.rb +28 -0
- data/lib/activemessaging/filter.rb +29 -0
- data/lib/activemessaging/gateway.rb +429 -0
- data/lib/activemessaging/message_sender.rb +30 -0
- data/lib/activemessaging/named_base.rb +54 -0
- data/lib/activemessaging/processor.rb +44 -0
- data/lib/activemessaging/railtie.rb +26 -0
- data/lib/activemessaging/test_helper.rb +189 -0
- data/lib/activemessaging/threaded_poller.rb +234 -0
- data/lib/activemessaging/trace_filter.rb +34 -0
- data/lib/generators/active_messaging/install/USAGE +21 -0
- data/lib/generators/active_messaging/install/install_generator.rb +39 -0
- data/lib/generators/active_messaging/install/templates/application_processor.rb +18 -0
- data/lib/generators/active_messaging/install/templates/broker.yml +139 -0
- data/lib/generators/active_messaging/install/templates/poller +24 -0
- data/lib/generators/active_messaging/install/templates/poller.rb +22 -0
- data/lib/generators/active_messaging/install/templates/threaded_poller +46 -0
- data/lib/generators/active_messaging/processor/USAGE +2 -0
- data/lib/generators/active_messaging/processor/processor_generator.rb +39 -0
- data/lib/generators/active_messaging/processor/templates/messaging.rb +12 -0
- data/lib/generators/active_messaging/processor/templates/processor.rb +8 -0
- data/lib/generators/active_messaging/processor/templates/processor_spec.rb +24 -0
- data/lib/generators/active_messaging/processor/templates/processor_test.rb +20 -0
- data/lib/tasks/start_consumers.rake +8 -0
- data/poller.rb +14 -0
- data/test/all_tests.rb +10 -0
- data/test/app/config/broker.yml +4 -0
- data/test/asqs_test.rb +125 -0
- data/test/config_test.rb +42 -0
- data/test/filter_test.rb +131 -0
- data/test/gateway_test.rb +220 -0
- data/test/jms_test.rb +64 -0
- data/test/reliable_msg_test.rb +83 -0
- data/test/stomp_test.rb +168 -0
- data/test/test_helper.rb +36 -0
- data/test/tracer_test.rb +57 -0
- metadata +202 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MDI3OGVjZjJmYTNjMDhmMTg3MGM2MjU4ZDYyODgxNjUwNzE3MzJkYw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
Njk0OGIxYmI2MWE0ZjE3NGUwZDgyMGUwNWI3OGU0Yjk2NThmMTU2Mw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NzI2ZDM4MzU0YzVkODllZTY1YTE2YmZiNzhkNDUwMDI2MWY3YTRhYTc3NzZj
|
10
|
+
ZmFhYTIzMGE3ZWZmNTNkZTA5YjFiYjdjMGFkNzg5MmM0ZThkOTBkMzVmMDcw
|
11
|
+
MjkwYzIwZDBhZjgzNTc3NTJiZThiNmUxNmI4ZmQyYTg4ZjY4MmY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzRjZmQ0M2MyOWM3OGYzOWU3YzZjMDZmMDM3YTI1NmFiMDE5NmU1MTgzNTI1
|
14
|
+
YmQ4OWI1MTM1MzAzYTg5YWU1NDhjN2Q3M2YxYmU4YWIyMTE4NWQ2ZDNiMmQ3
|
15
|
+
M2YzYjQwNjc1NjM0MTRhYTEzZWVhZTk1MDVjMjU3Y2NiMGI4ZDE=
|
data/.travis.yml
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
language: ruby
|
2
|
+
gemfile:
|
3
|
+
- gemfiles/activesupport23.gemfile
|
4
|
+
- gemfiles/activesupport30.gemfile
|
5
|
+
- gemfiles/activesupport31.gemfile
|
6
|
+
- gemfiles/activesupport32.gemfile
|
7
|
+
rvm:
|
8
|
+
- 1.8.7
|
9
|
+
- 1.9.2
|
10
|
+
- 1.9.3
|
11
|
+
- ruby-head
|
12
|
+
- ree
|
13
|
+
- jruby-18mode
|
14
|
+
- jruby-19mode
|
15
|
+
- jruby-head
|
16
|
+
- rbx-18mode
|
17
|
+
- rbx-19mode
|
18
|
+
matrix:
|
19
|
+
allow_failures:
|
20
|
+
- rvm: jruby-18mode
|
21
|
+
- rvm: jruby-19mode
|
22
|
+
- rvm: jruby-head
|
23
|
+
- rvm: rbx-18mode
|
24
|
+
- rvm: rbx-19mode
|
25
|
+
- rvm: ruby-head
|
26
|
+
exclude:
|
27
|
+
- rvm: 1.9.3
|
28
|
+
gemfile: gemfiles/activesupport23.gemfile
|
29
|
+
- rvm: ruby-head
|
30
|
+
gemfile: gemfiles/activesupport23.gemfile
|
31
|
+
- rvm: jruby-19mode
|
32
|
+
gemfile: gemfiles/activesupport23.gemfile
|
33
|
+
- rvm: jruby-head
|
34
|
+
gemfile: gemfiles/activesupport23.gemfile
|
35
|
+
- rvm: rbx-19mode
|
36
|
+
gemfile: gemfiles/activesupport23.gemfile
|
37
|
+
notifications:
|
38
|
+
recipients:
|
39
|
+
- matt.campbell@vibes.com
|
40
|
+
- lance.cooper@vibes.com
|
data/Appraisals
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
appraise "activesupport23" do
|
2
|
+
gem "activesupport", "~> 2.3.11"
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise "activesupport30" do
|
6
|
+
gem "activesupport", "~> 3.0.8"
|
7
|
+
gem "i18n"
|
8
|
+
end
|
9
|
+
|
10
|
+
appraise "activesupport31" do
|
11
|
+
gem "activesupport", "~> 3.1.2"
|
12
|
+
gem "i18n"
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise "activesupport32" do
|
16
|
+
gem "activesupport", "~> 3.2.2"
|
17
|
+
end
|
18
|
+
|
19
|
+
# vim: filetype=ruby
|
data/Gemfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# We group everything into test because while a default bundle install
|
4
|
+
# pulls in this group, Jeweler does not include it when consulting the
|
5
|
+
# Gemfile for dependencies.
|
6
|
+
# The short syntax isn't used because the appraisal gem does not support it.
|
7
|
+
if RUBY_VERSION < '1.9'
|
8
|
+
gem 'reliable-msg', '~>1.1', :group => :test, :platform => :ruby
|
9
|
+
else
|
10
|
+
gem 'celluloid', '~>0.12', :group => :test, :platform => :ruby
|
11
|
+
end
|
12
|
+
|
13
|
+
gem 'jruby-activemq', :group => :test, :platform => :jruby
|
14
|
+
|
15
|
+
gemspec :development_group => :test
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
gz_activemessaging (0.13.0)
|
5
|
+
activesupport (>= 2.3.11)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activesupport (4.2.1)
|
11
|
+
i18n (~> 0.7)
|
12
|
+
json (~> 1.7, >= 1.7.7)
|
13
|
+
minitest (~> 5.1)
|
14
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
addressable (2.3.6)
|
17
|
+
appraisal (0.4.1)
|
18
|
+
bundler
|
19
|
+
rake
|
20
|
+
builder (3.2.2)
|
21
|
+
celluloid (0.12.0)
|
22
|
+
timers (>= 1.0.0)
|
23
|
+
descendants_tracker (0.0.4)
|
24
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
25
|
+
faraday (0.9.0)
|
26
|
+
multipart-post (>= 1.2, < 3)
|
27
|
+
git (1.2.6)
|
28
|
+
github_api (0.11.3)
|
29
|
+
addressable (~> 2.3)
|
30
|
+
descendants_tracker (~> 0.0.1)
|
31
|
+
faraday (~> 0.8, < 0.10)
|
32
|
+
hashie (>= 1.2)
|
33
|
+
multi_json (>= 1.7.5, < 2.0)
|
34
|
+
nokogiri (~> 1.6.0)
|
35
|
+
oauth2
|
36
|
+
hashie (3.0.0)
|
37
|
+
highline (1.6.21)
|
38
|
+
i18n (0.7.0)
|
39
|
+
jeweler (2.0.1)
|
40
|
+
builder
|
41
|
+
bundler (>= 1.0)
|
42
|
+
git (>= 1.2.5)
|
43
|
+
github_api
|
44
|
+
highline (>= 1.6.15)
|
45
|
+
nokogiri (>= 1.5.10)
|
46
|
+
rake
|
47
|
+
rdoc
|
48
|
+
jruby-activemq (5.5.1-java)
|
49
|
+
json (1.8.1)
|
50
|
+
json (1.8.1-java)
|
51
|
+
jwt (1.0.0)
|
52
|
+
mini_portile (0.6.0)
|
53
|
+
minitest (5.5.1)
|
54
|
+
multi_json (1.10.1)
|
55
|
+
multi_xml (0.5.5)
|
56
|
+
multipart-post (2.0.0)
|
57
|
+
nokogiri (1.6.2.1)
|
58
|
+
mini_portile (= 0.6.0)
|
59
|
+
nokogiri (1.6.2.1-java)
|
60
|
+
oauth2 (0.9.4)
|
61
|
+
faraday (>= 0.8, < 0.10)
|
62
|
+
jwt (~> 1.0)
|
63
|
+
multi_json (~> 1.3)
|
64
|
+
multi_xml (~> 0.5)
|
65
|
+
rack (~> 1.2)
|
66
|
+
rack (1.5.2)
|
67
|
+
rake (10.3.2)
|
68
|
+
rdoc (4.1.1)
|
69
|
+
json (~> 1.4)
|
70
|
+
stomp (1.2.4)
|
71
|
+
thread_safe (0.3.4)
|
72
|
+
thread_safe (0.3.4-java)
|
73
|
+
timers (1.0.1)
|
74
|
+
tzinfo (1.2.2)
|
75
|
+
thread_safe (~> 0.1)
|
76
|
+
|
77
|
+
PLATFORMS
|
78
|
+
java
|
79
|
+
ruby
|
80
|
+
|
81
|
+
DEPENDENCIES
|
82
|
+
appraisal
|
83
|
+
celluloid (~> 0.12)
|
84
|
+
gz_activemessaging!
|
85
|
+
jeweler
|
86
|
+
jruby-activemq
|
87
|
+
stomp
|
data/README.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Active Messaging
|
2
|
+
|
3
|
+
ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc.
|
4
|
+
|
5
|
+
ActiveMessaging is a generic framework to ease using messaging, but is not tied to any particular messaging system - in fact, it now has support for Stomp, AMQP, beanstalk, Amazon Simple Queue Service (SQS), JMS (using StompConnect or direct on JRuby), WebSphere MQ, the all-Ruby ReliableMessaging, a mock 'test' adapter, and a 'synch' adapter for use in development that processes calls synchronously (of course) and so requires no broker or additional processes to be running.
|
6
|
+
|
7
|
+
Here's a sample of a processor class that handles incoming messages:
|
8
|
+
|
9
|
+
class HelloWorldProcessor < ActiveMessaging::Processor
|
10
|
+
subscribes_to :hello_world
|
11
|
+
def on_message(message)
|
12
|
+
puts "received: " + message
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
# Generating with Rails 3
|
17
|
+
|
18
|
+
After adding ActiveMessaging to your Gemfile and executing bundle install, run the following commands:
|
19
|
+
|
20
|
+
rails g active_messaging:install
|
21
|
+
rails g active_messaging:processor <NameOfYourProcessor>
|
22
|
+
|
23
|
+
# Support
|
24
|
+
|
25
|
+
Best bet is the google groups mailing list:
|
26
|
+
|
27
|
+
http://groups.google.com/group/activemessaging-discuss
|
data/Rakefile
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler/setup'
|
3
|
+
|
4
|
+
require 'rake'
|
5
|
+
require 'rake/testtask'
|
6
|
+
require 'rdoc/rdoc'
|
7
|
+
|
8
|
+
require 'appraisal'
|
9
|
+
|
10
|
+
desc 'Default: run unit tests.'
|
11
|
+
task :default => :test
|
12
|
+
|
13
|
+
desc 'Test the ActiveMessaging plugin.'
|
14
|
+
Rake::TestTask.new(:test) do |t|
|
15
|
+
t.libs << 'lib'
|
16
|
+
t.pattern = 'test/**/*_test.rb'
|
17
|
+
t.verbose = true
|
18
|
+
end
|
19
|
+
|
20
|
+
desc 'Generate documentation for the ActiveMessaging plugin.'
|
21
|
+
task :rdoc do
|
22
|
+
rm_rf 'doc'
|
23
|
+
RDoc::RDoc.new.document(%w(--line-numbers --inline-source --title ActiveMessaging README lib))
|
24
|
+
end
|
25
|
+
|
26
|
+
begin
|
27
|
+
require 'jeweler'
|
28
|
+
Jeweler::Tasks.new do |gemspec|
|
29
|
+
|
30
|
+
# basic
|
31
|
+
gemspec.name = "activemessaging"
|
32
|
+
gemspec.summary = "Official activemessaging gem, now hosted on github.com/kookster. (kookster prefix temporary)"
|
33
|
+
gemspec.description = "ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc. Now supporting Rails 3 as of version 0.8.0."
|
34
|
+
gemspec.email = "activemessaging-discuss@googlegroups.com"
|
35
|
+
gemspec.homepage = "http://github.com/kookster/activemessaging"
|
36
|
+
gemspec.authors = ["Jon Tirsen", "Andrew Kuklewicz", "Olle Jonsson", "Sylvain Perez", "Cliff Moon", 'Uwe Kubosch', 'Lance Cooper', 'Matt Campbell']
|
37
|
+
|
38
|
+
# added
|
39
|
+
gemspec.add_dependency('activesupport', '>= 2.3.11')
|
40
|
+
|
41
|
+
gemspec.add_development_dependency('jeweler')
|
42
|
+
gemspec.add_development_dependency('stomp')
|
43
|
+
gemspec.add_development_dependency('appraisal')
|
44
|
+
|
45
|
+
end
|
46
|
+
Jeweler::GemcutterTasks.new
|
47
|
+
rescue LoadError
|
48
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
49
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.13.1
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: activemessaging 0.13.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "gz_activemessaging"
|
9
|
+
s.version = "0.13.1"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Jon Tirsen", "Andrew Kuklewicz", "Olle Jonsson", "Sylvain Perez", "Cliff Moon", "Uwe Kubosch", "Lance Cooper", "Matt Campbell"]
|
14
|
+
s.date = "2015-04-03"
|
15
|
+
s.description = "ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc. Now supporting Rails 3 as of version 0.8.0."
|
16
|
+
s.email = "activemessaging-discuss@googlegroups.com"
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"README.md"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".travis.yml",
|
22
|
+
"Appraisals",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"README.md",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"activemessaging.gemspec",
|
29
|
+
"gemfiles/activesupport23.gemfile",
|
30
|
+
"gemfiles/activesupport23.gemfile.lock",
|
31
|
+
"gemfiles/activesupport30.gemfile",
|
32
|
+
"gemfiles/activesupport30.gemfile.lock",
|
33
|
+
"gemfiles/activesupport31.gemfile",
|
34
|
+
"gemfiles/activesupport31.gemfile.lock",
|
35
|
+
"gemfiles/activesupport32.gemfile",
|
36
|
+
"gemfiles/activesupport32.gemfile.lock",
|
37
|
+
"generators/a13g_test_harness/a13g_test_harness_generator.rb",
|
38
|
+
"generators/a13g_test_harness/templates/active_messaging_test.rhtml",
|
39
|
+
"generators/a13g_test_harness/templates/active_messaging_test_controller.rb",
|
40
|
+
"generators/a13g_test_harness/templates/index.rhtml",
|
41
|
+
"generators/filter/USAGE",
|
42
|
+
"generators/filter/filter_generator.rb",
|
43
|
+
"generators/filter/templates/filter.rb",
|
44
|
+
"generators/filter/templates/filter_test.rb",
|
45
|
+
"generators/processor/USAGE",
|
46
|
+
"generators/processor/processor_generator.rb",
|
47
|
+
"generators/processor/templates/application_processor.rb",
|
48
|
+
"generators/processor/templates/broker.yml",
|
49
|
+
"generators/processor/templates/jruby_poller",
|
50
|
+
"generators/processor/templates/messaging.rb",
|
51
|
+
"generators/processor/templates/poller",
|
52
|
+
"generators/processor/templates/poller.rb",
|
53
|
+
"generators/processor/templates/processor.rb",
|
54
|
+
"generators/processor/templates/processor_test.rb",
|
55
|
+
"generators/tracer/USAGE",
|
56
|
+
"generators/tracer/templates/controller.rb",
|
57
|
+
"generators/tracer/templates/helper.rb",
|
58
|
+
"generators/tracer/templates/index.rhtml",
|
59
|
+
"generators/tracer/templates/layout.rhtml",
|
60
|
+
"generators/tracer/templates/trace_processor.rb",
|
61
|
+
"generators/tracer/tracer_generator.rb",
|
62
|
+
"init.rb",
|
63
|
+
"lib/activemessaging.rb",
|
64
|
+
"lib/activemessaging/adapter.rb",
|
65
|
+
"lib/activemessaging/adapters/amqp.rb",
|
66
|
+
"lib/activemessaging/adapters/asqs.rb",
|
67
|
+
"lib/activemessaging/adapters/base.rb",
|
68
|
+
"lib/activemessaging/adapters/beanstalk.rb",
|
69
|
+
"lib/activemessaging/adapters/jms.rb",
|
70
|
+
"lib/activemessaging/adapters/reliable_msg.rb",
|
71
|
+
"lib/activemessaging/adapters/stomp.rb",
|
72
|
+
"lib/activemessaging/adapters/synch.rb",
|
73
|
+
"lib/activemessaging/adapters/test.rb",
|
74
|
+
"lib/activemessaging/adapters/wmq.rb",
|
75
|
+
"lib/activemessaging/base_message.rb",
|
76
|
+
"lib/activemessaging/filter.rb",
|
77
|
+
"lib/activemessaging/gateway.rb",
|
78
|
+
"lib/activemessaging/message_sender.rb",
|
79
|
+
"lib/activemessaging/named_base.rb",
|
80
|
+
"lib/activemessaging/processor.rb",
|
81
|
+
"lib/activemessaging/railtie.rb",
|
82
|
+
"lib/activemessaging/test_helper.rb",
|
83
|
+
"lib/activemessaging/threaded_poller.rb",
|
84
|
+
"lib/activemessaging/trace_filter.rb",
|
85
|
+
"lib/generators/active_messaging/install/USAGE",
|
86
|
+
"lib/generators/active_messaging/install/install_generator.rb",
|
87
|
+
"lib/generators/active_messaging/install/templates/application_processor.rb",
|
88
|
+
"lib/generators/active_messaging/install/templates/broker.yml",
|
89
|
+
"lib/generators/active_messaging/install/templates/poller",
|
90
|
+
"lib/generators/active_messaging/install/templates/poller.rb",
|
91
|
+
"lib/generators/active_messaging/install/templates/threaded_poller",
|
92
|
+
"lib/generators/active_messaging/processor/USAGE",
|
93
|
+
"lib/generators/active_messaging/processor/processor_generator.rb",
|
94
|
+
"lib/generators/active_messaging/processor/templates/messaging.rb",
|
95
|
+
"lib/generators/active_messaging/processor/templates/processor.rb",
|
96
|
+
"lib/generators/active_messaging/processor/templates/processor_spec.rb",
|
97
|
+
"lib/generators/active_messaging/processor/templates/processor_test.rb",
|
98
|
+
"lib/tasks/start_consumers.rake",
|
99
|
+
"poller.rb",
|
100
|
+
"test/all_tests.rb",
|
101
|
+
"test/app/config/broker.yml",
|
102
|
+
"test/asqs_test.rb",
|
103
|
+
"test/config_test.rb",
|
104
|
+
"test/filter_test.rb",
|
105
|
+
"test/gateway_test.rb",
|
106
|
+
"test/jms_test.rb",
|
107
|
+
"test/reliable_msg_test.rb",
|
108
|
+
"test/stomp_test.rb",
|
109
|
+
"test/test_helper.rb",
|
110
|
+
"test/tracer_test.rb"
|
111
|
+
]
|
112
|
+
s.homepage = "http://github.com/kookster/activemessaging"
|
113
|
+
s.rubygems_version = "2.4.5"
|
114
|
+
s.summary = "Official activemessaging gem, now hosted on github.com/kookster. (kookster prefix temporary)"
|
115
|
+
|
116
|
+
if s.respond_to? :specification_version then
|
117
|
+
s.specification_version = 4
|
118
|
+
|
119
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
120
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.11"])
|
121
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
122
|
+
s.add_development_dependency(%q<stomp>, [">= 0"])
|
123
|
+
s.add_development_dependency(%q<appraisal>, [">= 0"])
|
124
|
+
else
|
125
|
+
s.add_dependency(%q<activesupport>, [">= 2.3.11"])
|
126
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
127
|
+
s.add_dependency(%q<stomp>, [">= 0"])
|
128
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
129
|
+
end
|
130
|
+
else
|
131
|
+
s.add_dependency(%q<activesupport>, [">= 2.3.11"])
|
132
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
133
|
+
s.add_dependency(%q<stomp>, [">= 0"])
|
134
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "celluloid", "~>0.12", :group=>:test, :platform=>:ruby
|
6
|
+
gem "jruby-activemq", :group=>:test, :platform=>:jruby
|
7
|
+
gem "appraisal", :group=>:test
|
8
|
+
gem "activesupport", "~> 2.3.11"
|
9
|
+
|
10
|
+
gemspec :development_group=>:test, :path=>"../"
|
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
activemessaging (0.12.1)
|
5
|
+
activemessaging
|
6
|
+
activesupport (>= 2.3.11)
|
7
|
+
celluloid
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: http://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activesupport (2.3.14)
|
13
|
+
appraisal (0.4.1)
|
14
|
+
bundler
|
15
|
+
rake
|
16
|
+
celluloid (0.11.1)
|
17
|
+
timers (>= 1.0.0)
|
18
|
+
git (1.2.5)
|
19
|
+
jeweler (1.8.4)
|
20
|
+
bundler (~> 1.0)
|
21
|
+
git (>= 1.2.5)
|
22
|
+
rake
|
23
|
+
rdoc
|
24
|
+
jruby-activemq (5.5.1-java)
|
25
|
+
json (1.7.4)
|
26
|
+
json (1.7.4-java)
|
27
|
+
macaddr (1.6.1)
|
28
|
+
systemu (~> 2.5.0)
|
29
|
+
rake (0.9.2.2)
|
30
|
+
rdoc (3.12)
|
31
|
+
json (~> 1.4)
|
32
|
+
reliable-msg (1.1.0)
|
33
|
+
uuid (>= 1.0.0)
|
34
|
+
stomp (1.2.4)
|
35
|
+
systemu (2.5.2)
|
36
|
+
timers (1.0.1)
|
37
|
+
uuid (2.3.5)
|
38
|
+
macaddr (~> 1.0)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
java
|
42
|
+
ruby
|
43
|
+
|
44
|
+
DEPENDENCIES
|
45
|
+
activemessaging!
|
46
|
+
activesupport (~> 2.3.11)
|
47
|
+
appraisal
|
48
|
+
jeweler
|
49
|
+
jruby-activemq
|
50
|
+
reliable-msg (~> 1.1)
|
51
|
+
stomp
|