Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Plack::Handler::Stomp 1.01

    Download button

    No screenshots available
    Downloads: 76  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Gianni Ceccarelli | More programs
    Perl Artistic License / FREE
    September 3rd, 2012, 18:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Plack::Handler::Stomp description

    Adapt STOMP to (almost) HTTP, via Plack

    Plack::Handler::Stomp is a Perl module that sometimes you want to use your very nice web-application-framework dispatcher, module loading mechanisms, etc, but you're not really writing a web application, you're writing a ActiveMQ consumer. In those cases, this module is for you.

    This module is inspired by Catalyst::Engine::Stomp, but aims to be usable by any PSGI application.

    SYNOPSIS

     my $runner = Plack::Handler::Stomp->new({
     servers => [ { hostname => 'localhost', port => 61613 } ],
     subscriptions => [
     { destination => '/queue/plack-handler-stomp-test' },
     { destination => '/topic/plack-handler-stomp-test',
     headers => {
     selector => q{custom_header = '1' or JMSType = 'test_foo'},
     },
     path_info => '/topic/ch1', },
     { destination => '/topic/plack-handler-stomp-test',
     headers => {
     selector => q{custom_header = '2' or JMSType = 'test_bar'},
     },
     path_info => '/topic/ch2', },
     ],
     });
     $runner->run(MyApp->get_app());



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    STOMP Plack | Perl module | Perl | STOMP | Plack

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM