ntb/silverstripe-queue-adapter

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Add ability to queue messages into a redis queue

0.1.2 2016-04-20 08:16 UTC

This package is auto-updated.

Last update: 2021-05-19 18:21:06 UTC


README

Build Status License

Queue adapter module for Silverstripe

Usage

You can define your messages by implementing the IMessage interface. To send a message you can call publish on an IQueueAdapter.

<?php

$msg = new FooBarMessage("data");
$adapter = QueueHelper::get_queue();
$adapter->publish($msg);