rservicebus2 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +64 -0
  3. data/bin/return_messages_to_source_queue +114 -0
  4. data/bin/rsb_ctl +38 -0
  5. data/bin/rservicebus2 +14 -0
  6. data/bin/rservicebus2-create +107 -0
  7. data/bin/rservicebus2-init +104 -0
  8. data/bin/rservicebus2-transport +16 -0
  9. data/bin/send_empty_message +15 -0
  10. data/lib/rservicebus.rb +59 -0
  11. data/lib/rservicebus/agent.rb +54 -0
  12. data/lib/rservicebus/appresource.rb +65 -0
  13. data/lib/rservicebus/appresource/dir.rb +29 -0
  14. data/lib/rservicebus/appresource/file.rb +8 -0
  15. data/lib/rservicebus/appresource/fluiddb.rb +24 -0
  16. data/lib/rservicebus/appresource_configure.rb +33 -0
  17. data/lib/rservicebus/audit.rb +28 -0
  18. data/lib/rservicebus/circuitbreaker.rb +79 -0
  19. data/lib/rservicebus/config.rb +168 -0
  20. data/lib/rservicebus/cron_manager.rb +76 -0
  21. data/lib/rservicebus/endpointmapping.rb +72 -0
  22. data/lib/rservicebus/errormessage.rb +14 -0
  23. data/lib/rservicebus/handler_loader.rb +162 -0
  24. data/lib/rservicebus/handler_manager.rb +131 -0
  25. data/lib/rservicebus/helper_functions.rb +85 -0
  26. data/lib/rservicebus/host.rb +487 -0
  27. data/lib/rservicebus/message.rb +78 -0
  28. data/lib/rservicebus/message/statisticoutput.rb +7 -0
  29. data/lib/rservicebus/message/subscription.rb +10 -0
  30. data/lib/rservicebus/message/verboseoutput.rb +7 -0
  31. data/lib/rservicebus/monitor.rb +61 -0
  32. data/lib/rservicebus/monitor/csvdir.rb +52 -0
  33. data/lib/rservicebus/monitor/dir.rb +139 -0
  34. data/lib/rservicebus/monitor/dirnotifier.rb +101 -0
  35. data/lib/rservicebus/monitor/message.rb +11 -0
  36. data/lib/rservicebus/monitor/xmldir.rb +11 -0
  37. data/lib/rservicebus/monitor_configure.rb +71 -0
  38. data/lib/rservicebus/mq.rb +98 -0
  39. data/lib/rservicebus/mq/beanstalk.rb +72 -0
  40. data/lib/rservicebus/resource_manager.rb +69 -0
  41. data/lib/rservicebus/saga/base.rb +17 -0
  42. data/lib/rservicebus/saga/data.rb +20 -0
  43. data/lib/rservicebus/saga/manager.rb +128 -0
  44. data/lib/rservicebus/saga_loader.rb +118 -0
  45. data/lib/rservicebus/saga_storage.rb +18 -0
  46. data/lib/rservicebus/saga_storage/dir.rb +87 -0
  47. data/lib/rservicebus/saga_storage/inmemory.rb +37 -0
  48. data/lib/rservicebus/sendat_manager.rb +33 -0
  49. data/lib/rservicebus/sendat_storage.rb +20 -0
  50. data/lib/rservicebus/sendat_storage/file.rb +37 -0
  51. data/lib/rservicebus/sendat_storage/inmemory.rb +20 -0
  52. data/lib/rservicebus/state_manager.rb +30 -0
  53. data/lib/rservicebus/state_storage.rb +18 -0
  54. data/lib/rservicebus/state_storage/dir.rb +66 -0
  55. data/lib/rservicebus/state_storage/inmemory.rb +25 -0
  56. data/lib/rservicebus/statistic_manager.rb +86 -0
  57. data/lib/rservicebus/stats.rb +68 -0
  58. data/lib/rservicebus/subscription_manager.rb +31 -0
  59. data/lib/rservicebus/subscription_storage.rb +39 -0
  60. data/lib/rservicebus/subscription_storage/file.rb +42 -0
  61. data/lib/rservicebus/subscription_storage/redis.rb +69 -0
  62. data/lib/rservicebus/subscription_storage_configure.rb +19 -0
  63. data/lib/rservicebus/test.rb +2 -0
  64. data/lib/rservicebus/test/bus.rb +32 -0
  65. data/lib/rservicebus/transporter.rb +142 -0
  66. data/lib/rservicebus/usermessage/withpayload.rb +10 -0
  67. metadata +184 -0
@@ -0,0 +1,10 @@
1
+ module RServiceBus
2
+ # User Message
3
+ class UserMessageWithPayload
4
+ attr_reader :payload
5
+
6
+ def initialize(payload)
7
+ @payload = payload
8
+ end
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rservicebus2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Guy Irvine
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: uuidtools
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: beanstalk-client
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: fluiddb
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: parse-cron
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: A Ruby interpretation of NServiceBus
84
+ email: guy@guyirvine.com
85
+ executables:
86
+ - rservicebus2
87
+ - rservicebus2-init
88
+ - return_messages_to_source_queue
89
+ - send_empty_message
90
+ - rservicebus2-transport
91
+ - rservicebus2-create
92
+ extensions: []
93
+ extra_rdoc_files: []
94
+ files:
95
+ - lib/rservicebus/agent.rb
96
+ - lib/rservicebus/appresource/dir.rb
97
+ - lib/rservicebus/appresource/file.rb
98
+ - lib/rservicebus/appresource/fluiddb.rb
99
+ - lib/rservicebus/appresource.rb
100
+ - lib/rservicebus/appresource_configure.rb
101
+ - lib/rservicebus/audit.rb
102
+ - lib/rservicebus/circuitbreaker.rb
103
+ - lib/rservicebus/config.rb
104
+ - lib/rservicebus/cron_manager.rb
105
+ - lib/rservicebus/endpointmapping.rb
106
+ - lib/rservicebus/errormessage.rb
107
+ - lib/rservicebus/handler_loader.rb
108
+ - lib/rservicebus/handler_manager.rb
109
+ - lib/rservicebus/helper_functions.rb
110
+ - lib/rservicebus/host.rb
111
+ - lib/rservicebus/message/statisticoutput.rb
112
+ - lib/rservicebus/message/subscription.rb
113
+ - lib/rservicebus/message/verboseoutput.rb
114
+ - lib/rservicebus/message.rb
115
+ - lib/rservicebus/monitor/csvdir.rb
116
+ - lib/rservicebus/monitor/dir.rb
117
+ - lib/rservicebus/monitor/dirnotifier.rb
118
+ - lib/rservicebus/monitor/message.rb
119
+ - lib/rservicebus/monitor/xmldir.rb
120
+ - lib/rservicebus/monitor.rb
121
+ - lib/rservicebus/monitor_configure.rb
122
+ - lib/rservicebus/mq/beanstalk.rb
123
+ - lib/rservicebus/mq.rb
124
+ - lib/rservicebus/resource_manager.rb
125
+ - lib/rservicebus/saga/base.rb
126
+ - lib/rservicebus/saga/data.rb
127
+ - lib/rservicebus/saga/manager.rb
128
+ - lib/rservicebus/saga_loader.rb
129
+ - lib/rservicebus/saga_storage/dir.rb
130
+ - lib/rservicebus/saga_storage/inmemory.rb
131
+ - lib/rservicebus/saga_storage.rb
132
+ - lib/rservicebus/sendat_manager.rb
133
+ - lib/rservicebus/sendat_storage/file.rb
134
+ - lib/rservicebus/sendat_storage/inmemory.rb
135
+ - lib/rservicebus/sendat_storage.rb
136
+ - lib/rservicebus/state_manager.rb
137
+ - lib/rservicebus/state_storage/dir.rb
138
+ - lib/rservicebus/state_storage/inmemory.rb
139
+ - lib/rservicebus/state_storage.rb
140
+ - lib/rservicebus/statistic_manager.rb
141
+ - lib/rservicebus/stats.rb
142
+ - lib/rservicebus/subscription_manager.rb
143
+ - lib/rservicebus/subscription_storage/file.rb
144
+ - lib/rservicebus/subscription_storage/redis.rb
145
+ - lib/rservicebus/subscription_storage.rb
146
+ - lib/rservicebus/subscription_storage_configure.rb
147
+ - lib/rservicebus/test/bus.rb
148
+ - lib/rservicebus/test.rb
149
+ - lib/rservicebus/transporter.rb
150
+ - lib/rservicebus/usermessage/withpayload.rb
151
+ - lib/rservicebus.rb
152
+ - bin/return_messages_to_source_queue
153
+ - bin/rsb_ctl
154
+ - bin/rservicebus2
155
+ - bin/rservicebus2-create
156
+ - bin/rservicebus2-init
157
+ - bin/rservicebus2-transport
158
+ - bin/send_empty_message
159
+ - LICENSE
160
+ homepage: http://rubygems.org/gems/rservicebus2
161
+ licenses:
162
+ - LGPL-3.0
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.0.14.1
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: RServiceBus
184
+ test_files: []