examples/resque/hornetq_job.rb in jruby-hornetq-0.3.1 vs examples/resque/hornetq_job.rb in jruby-hornetq-0.3.2

- old
+ new

@@ -75,10 +75,10 @@ def send(total_count) #print "Sending #{total_count} messages" start_time = Time.now total_count.times do |i| message = @session.create_message(HornetQ::Client::Message::TEXT_TYPE,false) - message.reply_to_queue_name = @consumer.queue_name + message.reply_to_address = @consumer.queue_name message.body = "Request Current Time. #{i}" @producer.send(message) print "." #puts "Sent:#{message}" end \ No newline at end of file