rservicebus 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rservicebus/Transporter.rb +2 -1
- metadata +1 -1
@@ -57,7 +57,7 @@ class Transporter
|
|
57
57
|
|
58
58
|
|
59
59
|
#Get destination url from job
|
60
|
-
remote_host =
|
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
|