NAME

Jifty::Plugin::PubSub::Bus - AnyMQ class for Jifty

DESCRIPTION

This class inherits from AnyMQ, and exists to provide a simpler interface to that module.

METHODS

publish TOPIC DATA

Jifty uses the type key of data on the AnyMQ bus to track what topic the data was originally published on; this method checks that the provided DATA doesn't attempt to use that key, and warns if it does. It then publishes the given DATA on the TOPIC.

Roughly equivalent to "topic" in AnyMQ followed by "publish" in AnyMQ::Topic.