Catalyst-ActionRole-JMS
view release on metacpan or search on metacpan
lib/Catalyst/Controller/JMS.pm view on Meta::CPAN
$c->res->header('X-Reply-Address' => 'temporary-queue-name');
$c->stash->{message} = { some => [ 'reply', 'message' ] };
return;
}
=head1 DESCRIPTION
This controller base class makes it easy to handle JMS-style messages
in your Catalyst application. It handles deserialisation and
serialisation transparently (thanks to
L<Catalyst::Action::Deserialize> and L<Catalyst::Action::Serialize>)
and sets up the attributes needed by L<Catalyst::ActionRole::JMS>. It
also sets up some sensible default configuration.
=head1 CONFIGURATION
__PACKAGE__->config(
stash_key => 'message',
default => 'application/json',
map => {
( run in 0.308 second using v1.01-cache-2.11-cpan-0a6323c29d9 )