rservicebus 0.0.78 → 0.0.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rservicebus/Transporter.rb +4 -10
  2. metadata +1 -1
@@ -66,24 +66,18 @@ class Transporter
66
66
 
67
67
  log "Connect to destination beanstalk"
68
68
  begin
69
- destincationUrl = '127.0.0.1:27018'
70
- destination = Beanstalk::Pool.new([destincationUrl])
69
+ destinationUrl = '127.0.0.1:27018'
70
+ destination = Beanstalk::Pool.new([destinationUrl])
71
71
  rescue Exception => e
72
72
  if e.message == "Beanstalk::NotConnected" then
73
- puts "***Could not connect to destination, check beanstalk is running at, #{destincationUrl}"
73
+ puts "***Could not connect to destination, check beanstalk is running at, #{destinationUrl}"
74
74
  raise CouldNotConnectToDestination.new
75
75
  end
76
76
  raise
77
77
  end
78
78
 
79
-
80
- #getDestinationQueueName
81
- destinationQueueName = "transportIn"
82
- queueName = msg.destinationQueueName
83
-
84
- #putMsg
85
79
  log "Put msg, #{job.body}", true
86
- destination.use( destinationQueueName )
80
+ destination.use( msg.remoteQueueName )
87
81
  destination.put( job.body )
88
82
 
89
83
 
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.78
4
+ version: 0.0.79
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: