The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SYNOPSIS

IPC::Transit::Router - simple message routing and transformations

SYNOPSIS

 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

Copyright (c) 2012, Dana M. Diederich. All Rights Reserved.

LICENSE

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)

AUTHOR

Dana M. Diederich <diederich@gmail.com>