rservicebus 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rservicebus/Transporter.rb +6 -3
- metadata +1 -1
@@ -75,12 +75,15 @@ class Transporter
|
|
75
75
|
end
|
76
76
|
raise
|
77
77
|
end
|
78
|
-
|
78
|
+
|
79
79
|
log "Put msg, #{job.body}", true
|
80
80
|
destination.use( msg.remoteQueueName )
|
81
81
|
destination.put( job.body )
|
82
|
-
|
83
|
-
|
82
|
+
|
83
|
+
if !ENV['AUDIT_QUEUE_NAME'].nil? then
|
84
|
+
@source.use ENV['AUDIT_QUEUE_NAME']
|
85
|
+
@source.put job.body
|
86
|
+
end
|
84
87
|
#removeJob
|
85
88
|
job.delete
|
86
89
|
|