rservicebus 0.0.77 → 0.0.78

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,19 +20,19 @@ class Agent_Beanstalk
20
20
 
21
21
 
22
22
  if queueName.index( "@" ).nil? then
23
- @mq.send( queueName, serialized_object )
24
- else
23
+ q = queueName
24
+ else
25
25
  parts = queueName.split( "@" )
26
26
  msg.setRemoteQueueName( parts[0] )
27
27
  msg.setRemoteHostName( parts[1] )
28
- @mq.send( 'transport-out', serialized_object )
28
+ q = 'transport-out'
29
29
  end
30
30
 
31
31
 
32
- # serialized_object = YAML::dump(msg)
32
+ serialized_object = YAML::dump(msg)
33
33
 
34
- #@beanstalk.use( queueName )
35
- #@beanstalk.put( serialized_object )
34
+ @beanstalk.use( q )
35
+ @beanstalk.put( serialized_object )
36
36
  end
37
37
 
38
38
  # Gives an agent the means to receive a reply
@@ -49,4 +49,4 @@ class Agent_Beanstalk
49
49
  end
50
50
  end
51
51
 
52
- end
52
+ end
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.0.77
4
+ version: 0.0.78
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: