Courier - asynchronous and synchronous access to a message queue.
use Messaging::Courier::Wiretap; my $w = Messaging::Courier::Wiretap->new(); my $xml = $w->tap(0.1);
Courier::Wiretap is a wiretap onto the Courier message queue. It allows you to inspect messages that travel on the queue. It returns these in XML format.
Courier::Wiretap
This is the constructor. It currently takes no arguments.
This method receives a message from the queue in raw XML. If called without a TIMEOUT or a TIMEOUT set to zero any call to receive will block. If a timeout is specified receive does not block but returns undef in the case that it does not receive a message.
Courier
Leon Brocard <lbrocard@fotango.com>
Copyright 2003 Fotango Ltd. All Rights Reserved.
To install Messaging::Courier, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Messaging::Courier
CPAN shell
perl -MCPAN -e shell install Messaging::Courier
For more information on module installation, please visit the detailed CPAN module installation guide.