Tomas Doran > Message-Passing-STOMP-0.006 > Message::Passing::Output::STOMP

Download:
Message-Passing-STOMP-0.006.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

    message-pass --input STDIN --output STOMP --output_options \
        '{"destination":"/queue/foo","hostname":"localhost","port":"6163","username":"guest","password":"guest"}'
    {"data":{"some":"data"},"@metadata":"value"}

DESCRIPTION ^

A Message::Passing AnyEvent::STOMP output class.

ATTRIBUTES ^

destination

The queue name to subscribe to on the server.

hostname

Server hostname to connect to.

port

Server port number to connect to (default 6163).

username

The username to connect with (defaults to 'guest').

password

The password to connect with (defaults to 'guest').

METHODS ^

consume

Sends a message.

connected

Called by Message::Passing::STOMP::ConnectionManager to indicate a connection to the STOMP server has been made.

SEE ALSO ^

Message::Passing::STOMP
Message::Passing::Input::STOMP
Message::Passing
STOMP

AUTHOR, COPYRIGHT AND LICENSE ^

See Message::Passing::STOMP.

syntax highlighting: