1 package # Hide from PAUSE
2 StompTestApp::Controller::TestJsonController;
4 use namespace::autoclean;
6 BEGIN { extends 'Catalyst::Controller::MessageDriven' };
8 __PACKAGE__->config( serializer => 'JSON' );
10 sub testaction : Local {
11 my ($self, $c, $request) = @_;
13 # Reply with a minimal response message
14 my $response = { type => 'testaction_response' };
15 $c->stash->{response} = $response;