rservicebus 0.1.6 → 0.1.7

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 +2 -1
  2. metadata +1 -1
@@ -57,7 +57,7 @@ class Transporter
57
57
 
58
58
 
59
59
  #Get destination url from job
60
- remote_host = 'mega'
60
+ remote_host = msg.remoteHostName
61
61
  remote_user = getValue( "REMOTE_USER_#{remote_host.upcase}", "beanstalk" )
62
62
  gateway = Net::SSH::Gateway.new(remote_host, remote_user)
63
63
 
@@ -89,6 +89,7 @@ class Transporter
89
89
 
90
90
 
91
91
  gateway.shutdown!
92
+ log "Job sent to, #{remote_user}@#{remote_host}\#{msg.remoteQueueName"
92
93
 
93
94
  rescue Exception => e
94
95
  if e.message == "TIMED_OUT" then
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.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: