The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Courier - asynchronous and synchronous access to a message queue.

SYNOPSIS

  use Messaging::Courier::Wiretap;
  my $w = Messaging::Courier::Wiretap->new();
  my $xml = $w->tap(0.1);

DESCRIPTION

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.

METHODS

new

This is the constructor. It currently takes no arguments.

tap([TIMEOUT])

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.

SEE ALSO

Courier

AUTHOR

Leon Brocard <lbrocard@fotango.com>

COPYRIGHT

Copyright 2003 Fotango Ltd. All Rights Reserved.