What you get by MQSeries is a whole infrastructure and safe distribution and delivery of messages. If you don't already have an MQSeries infrastructure set up, then MQSeries::Queue will be of no use to you.

One convenient mechanism of message passing via store-and-forward is SMTP, which already has a big supporting infrastructure set up, another convenient mechanism might be a file system scheme like the following:

incoming/ arrived/ processing/ processed/

Files get written into the incoming directory, and moved into the arrived directory once they have arrived completely. The importing application moves a file into the processing directory and then starts working on the file. After the file has been processed, it is moved into the processed directory. This setup makes monitoring the whole process quite convenient, as no file may be in any directory other than processed for longer than five minutes (or so).

The SOAP::Lite modules also implement a message transport over various media.

But as you don't state what your requirements for the message transport are, there really is no way of telling what might be suitable to your needs.


In reply to Re: Implementing a queue based system by Corion
in thread Implementing a queue based system by chanakya

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.