NAME
    FML::Process::QueueManager - provide queue manipulation functions.

SYNOPSIS
    To flush all entries in the queue,

        use FML::Process::QueueManager;
        my $qmgr_args = { directory => $queue_dir };
        my $queue     = new FML::Process::QueueManager $curproc, $qmgr_args;
        $queue->send($curproc);

    or if you send specific queue $queue_id, use

        $queue->send($curproc, $queue_id);

    where $queue_id is queue id such as 1000390413.14775.1, not file path.

DESCRIPTION
    queue flush!

METHODS
  new($qmgr_args)
    constructor.

  send( [ $id ] )
    try to send all messages in the queue. If the queue id $id is specified,
    send only the queue corresponding to $id.

  cleanup( [ $id ] )
    clean up queue directory.

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2001,2002,2003,2004,2005,2006 Ken'ichi Fukamachi

    All rights reserved. This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

HISTORY
    FML::Process::QueueManager first appeared in fml8 mailing list driver
    package. See "http://www.fml.org/" for more details.

