ntb/silverstripe-queue-adapter

Add ability to queue messages into a redis queue

Installs: 78

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 1

Type:silverstripe-module

0.1.2 2016-04-20 08:16 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);