def send_HTTP_request(exchange, routing_key, message)
      http_message = format_HTTP_message(message)

      message_id = AlchemyFlux::Service.generateUUID()

      http_message_options = {
        message_id:          message_id,
        type:               'http',
        reply_to:            @response_queue_name,
        content_encoding:   '8bit',
        content_type:       'application/json',
        expiration:          @options[:timeout],
        mandatory:           true
      }

      response_queue = Queue.new
      @transactions[message_id] = response_queue

      send_message(exchange, routing_key, http_message, http_message_options)

      EventMachine.add_timer(@options[:timeout]/1000.0) do
        response_queue = @transactions.delete message_id
        response_queue << TimeoutError if response_queue
      end

      response_queue.pop
    end
def send_HTTP_request(exchange, routing_key, message)
      http_message = format_HTTP_message(message)

      message_id = AlchemyFlux::Service.generateUUID()

      http_message_options = {
        message_id:          message_id,
        type:               'http',
        reply_to:            @response_queue_name,
        content_encoding:   '8bit',
        content_type:       'application/json',
        expiration:          @options[:timeout],
        mandatory:           true
      }

      response_queue = Queue.new
      @transactions[message_id] = response_queue

      send_message(exchange, routing_key, http_message, http_message_options)

      EventMachine.add_timer(@options[:timeout]/1000.0) do
        response_queue = @transactions.delete message_id
        response_queue << TimeoutError if response_queue
      end

      response_queue.pop
    end
send a HTTP message to an exchange with routing key

 *exchange*:: A AMQP exchange
 *routing_key*:: The routing key to use
 *message*:: The message to be sent