phprockers-logo

How to send message via Queue in Amazon?

The SendMessage action delivers a message to the specified queue.

// Send a message to the queue
$sqs = new AmazonSQS();
$response = $sqs->send_message('example-queue', 'This is my message.');

// Success?
var_dump($response->isOK());

0 comments:

Post a Comment