IPC::Transit::Router - simple message routing and transformations
use strict;use warnings; use IPC::Transit::Router qw(config_trans route_trans); config_trans({ routes => [ { match => { a => 'b', }, forwards => [ { qname => 'test' }, ] changes => [ { who => 'there' }, { 123 => 234, xray => 'kilo' } ] } ] }); route_trans({a => 'b'}); The follow message will appear on the local 'test' queue: { a => 'b', who => 'there', 123 => 234, xray => 'kilo', }
Copyright (c) 2012, Dana M. Diederich. All Rights Reserved.
This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
Dana M. Diederich <diederich@gmail.com>
To install IPC::Transit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Transit
CPAN shell
perl -MCPAN -e shell install IPC::Transit
For more information on module installation, please visit the detailed CPAN module installation guide.