ntb/silverstripe-queue-adapter

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: 2020-07-19 16:35:27 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);