Provided by: libmessage-passing-zeromq-perl_0.007-1_all bug

NAME

       Message::Passing::Output::ZeroMQ - output messages to ZeroMQ.

SYNOPSIS

           use Message::Passing::Output::ZeroMQ;

           my $logger = Message::Passing::Output::ZeroMQ->new;
           $logger->consume({data => { some => 'data'}, '@metadata' => 'value' });

           # Or see Log::Dispatch::Message::Passing for a more 'normal' interface to
           # simple logging.

           # Or use directly on command line:
           message-passing --input STDIN --output ZeroMQ --output_options \
               '{"connect":"tcp://192.168.0.1:5552"}'
           {"data":{"some":"data"},"@metadata":"value"}

DESCRIPTION

       A Message::Passing ZeroMQ output class.

       Can be used as part of a chain of classes with the message-passing utility, or directly as
       a logger in normal perl applications.

ATTRIBUTES

       See "CONNECTION ATTRIBUTES" in Message::Passing::ZeroMQ.

METHODS

   consume ($msg)
       Sends a message, as-is. This means that you must have encoded the message to a string
       before sending it. The "message-pass" utility will do this for you into JSON, or you can
       do it manually as shown in the example in Message::Passing::ZeroMQ.

SEE ALSO

       Message::Passing::ZeroMQ
       Message::Passing::Input::ZeroMQ
       Message::Passing
       ZeroMQ
       <http://www.zeromq.org/>

SPONSORSHIP

       This module exists due to the wonderful people at Suretec Systems Ltd.
       <http://www.suretecsystems.com/> who sponsored its development for its VoIP division
       called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API -
       <http://www.surevoip.co.uk/support/wiki/api_documentation>

AUTHOR, COPYRIGHT AND LICENSE

       See Message::Passing.