LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
BackTrack 3.0 / 4.0
Pre-Final

5,487
Ubuntu 9.10
4,487
VLC 1.0.3
3,388
Wine 1.0.1 / 1.1.32
2,824
Yahoo Messenger
1.0.4

2,483
Adobe Flash Player
for Linux 10.0.32.18

2,320
Thunderbird PST
Import plugin 1.2

2,290
Mandriva Linux
2010.0

1,992
Super Grub Disk
0.9799

1,577
Yellow Dog Linux 6.2
1,441

WEEK'S BEST

  • Ubuntu 9.10
  • Ubuntu Netbook Rem...
  • Pidgin 2.6.3
  • Wine 1.0.1 / 1.1.32
  • Linux Kernel 2.6.3...
  • Mozilla Firefox 3....
  • Fedora 11
  • OpenOffice.org 3.1.1
  • Firestarter 1.0.3
  • The Gimp 2.6.7 / 2...
  • FileZilla 3.2.8.1 ...
  • Transmission 1.76
  • Super Grub Disk 0....
  • Gufw 9.04.2
  • Skype 2.0.072 / 2....
  • openSUSE Linux 11....
  • Opera 10.01 / 10.1...
  • Adobe Flash Player...
  • wine-doors 0.1.3
  • Google Gadgets 0.1...
  • Home / Linux / Programming / Perl Modules

    MQSeries::QueueManager 1.28

    Download button

    No screenshots available
    Downloads: 597  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.2/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Christian Soeller | More programs
    Perl Artistic License / FREE
    February 5th, 2008, 12:22 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    MQSeries::QueueManager description

     

    MQSeries::QueueManager is an OO interface to the MQSeries Queue Manager.

    MQSeries::QueueManager is an OO interface to the MQSeries Queue Manager.

    SYNOPSIS

    use MQSeries;
    use MQSeries::QueueManager;

    #
    # Simplest, trivial usage
    #
    my $qmgr = MQSeries::QueueManager->new( QueueManager => 'some.queue.manager' ) ||
    die("Unable to connect to queue managern");

    #
    # The best way to do error checking. Handle the object
    # instantiation and connection to the queue manager independently.
    #
    my $qmgr = MQSeries::QueueManager->new
    (
    QueueManager => 'some.queue.manager',
    AutoConnect => 0,
    ) || die "Unable to instantiate MQSeries::QueueManager objectn";

    $qmgr->Connect() ||
    die("Unable to connect to queue managern" .
    "CompCode => " . $qmgr->CompCode() . "n" .
    "Reason => " . $qmgr->Reason() .
    " (", MQReasonToText($qmgr->Reason()) . ")n");

    #
    # Advanced usage. Enable the connection timeout, and connection
    # retry logic.
    #
    my $qmgr = MQSeries::QueueManager->new
    (
    QueueManager => 'some.queue.manager',
    AutoConnect => 0,
    ConnectTimeout => 120,
    RetryCount => 60,
    RetrySleep => 10,
    ) || die "Unable to instantiate MQSeries::QueueManager objectn";

    $qmgr->Connect() ||
    die("Unable to connect to queue managern" .
    "CompCode => " . $qmgr->CompCode() . "n" .
    "Reason => " . $qmgr->Reason() .
    " (", MQReasonToText($qmgr->Reason()) . ")n";

    #
    # Avoid a channel table file or MQSERVER variable and specify
    # the client connect options directly.
    #
    my $qmgr = MQSeries::QueueManager->new
    (
    QueueManager => 'some.queue.manager',
    ClientConn => { 'ChannelName' => 'FOO',
    'TransportType' => 'TCP', # Default
    'ConnectionName' => "hostname(1414)",
    'MaxMsgLength' => 16 * 1024 * 1024,
    },
    ) || die("Unable to connect to queue managern");

    The MQSeries::QueueManager object is an OO mechanism for connecting to an MQSeries queue manager, and/or opening and inquiring a queue manager object.

    This module is used together with MQSeries::Queue and MQSeries::Message, and the other MQSeries::* modules. These objects provide a simpler, higher level interface to the MQI.

    This module also provides special support for connect timeouts (for interrupting MQCONNX() calls that may hang forever), as well as connect retry logic, which will retry failed MQCONNX() calls for a specific list of reason codes.

    See the "Special Considerations" section for a discussion of these advanced, but powerful, features.

    Requirements:

    · Perl

      


    TAGS:

    object-oriented interface | MQSeries Queue Manager | Perl module | object-oriented | interface | MQSeries



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM