ark::aws::SqsServer

Defined in header “ark/aws/testing/sqs_server.hh”.


This class represents a mock AWS SQS server, which allows you to receive messages.

Methods

  • SqsServer(const comms::NetworkAddress & address)
    Constructor. Initializes the SQS server and starts the background thread that will handle requests.

  • ~SqsServer()
    Destructor implemented internally.

  • core::Url endpoint()
    Returns the endpoint that you can talk to this server over.

  • void add_message(const std::string & body)
    Inserts a new message into the queue.