百度 o所以,每隔半年或一年就要给我们体检一次,儿童、老人、孕妇每三个月到半年检查一次。
app/controllers/sample_controller.rb
require 'activemessaging'
include ActiveMessaging::MessageSender
class SampleController < ApplicationController
def send_message
publish :sample_queue, 'Simples Assim', { 'suppress_content_length' => true }
end
end
config/messaging.rb
ActiveMessaging::Gateway.define do |s|
s.queue :sample_queue, '/queue/SampleQueue'
end
config/broker.yml
development:
adapter: stomp
Posted by:
Fernando Ribeiro
Experienced tech executive with a 24-year track record in enterprise computing. Leading AWS’s professional services application modernization division in Brazil. He’s held diverse roles including management, solutions architecture, sales consultancy, and full-stack development at major players like Oracle, Red Hat, and IBM. Fernando also contributes to open source and writes about emerging technologies.
The views expressed here are his own and do not necessarily reflect the views of AWS.
Leave a comment