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.
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.
Leon Brocard <firstname.lastname@example.org>
Copyright 2003 Fotango Ltd. All Rights Reserved.