rservicebus 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
|
|
1
|
+
module RServiceBus
|
2
|
+
|
3
|
+
require "FluidDb/Db"
|
4
|
+
|
5
|
+
#Implementation of an AppResource - Redis
|
6
|
+
class AppResource_FluidDbPgsql<AppResource
|
7
|
+
|
8
|
+
def connect(uri)
|
9
|
+
return FluidDb::Db.new( uri )
|
10
|
+
end
|
11
|
+
|
12
|
+
# Transaction Semantics
|
13
|
+
def Begin
|
14
|
+
@connection.Begin
|
15
|
+
end
|
16
|
+
|
17
|
+
# Transaction Semantics
|
18
|
+
def Commit
|
19
|
+
@connection.Commit
|
20
|
+
end
|
21
|
+
|
22
|
+
# Transaction Semantics
|
23
|
+
def Rollback
|
24
|
+
@connection.Rollback
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
data/lib/rservicebus/Host.rb
CHANGED
@@ -24,7 +24,7 @@ class SubscriptionManager
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def add( eventName, queueName )
|
27
|
-
RServiceBus.log "Adding
|
27
|
+
RServiceBus.log "Adding subscription for, " + eventName + ", to, " + queueName
|
28
28
|
@subscriptions = @subscriptionStorage.add( eventName, queueName )
|
29
29
|
end
|
30
30
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rservicebus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -26,6 +26,7 @@ files:
|
|
26
26
|
- lib/rservicebus/Agent.rb
|
27
27
|
- lib/rservicebus/AppResource/Dir.rb
|
28
28
|
- lib/rservicebus/AppResource/File.rb
|
29
|
+
- lib/rservicebus/AppResource/FluidDb.rb
|
29
30
|
- lib/rservicebus/AppResource/FluidDbFirebird.rb
|
30
31
|
- lib/rservicebus/AppResource/FluidDbMysql.rb
|
31
32
|
- lib/rservicebus/AppResource/FluidDbMysql2.rb
|