lib/activemessaging/adapters/reliable_msg.rb
def send destination_name, message_body, message_headers={}
          dest = get_or_create_destination(destination_name)
          begin
            dest.put message_body, message_headers
          rescue Object=>err
            raise err unless reliable
            puts "send failed, will retry in #{@poll_interval} seconds"
            sleep @poll_interval
          end
        end
# destination_name string, body string, headers hash
# send a single message to a destination
destination_name string, body string, headers hash
send a single message to a destination
destination_name string body string headers hash send a single message to a destination
def send destination_name, message_body, message_headers={}
          dest = get_or_create_destination(destination_name)
          begin
            dest.put message_body, message_headers
          rescue Object=>err
            raise err unless reliable
            puts "send failed, will retry in #{@poll_interval} seconds"
            sleep @poll_interval
          end
        end
def send destination_name , message_body , message_headers = { } dest = get_or_create_destination ( destination_name ) begin dest . put message_body , message_headers rescue Object => err raise err unless reliable puts "send failed, will retry in #{@poll_interval} seconds" sleep @poll_interval end end
destination_name string, body string, headers hash
send a single message to a destination
destination_name string body string headers hash send a single message to a destination
destination_name
message_body
message_headers