Attempt to please PAUSE by renaming our test app, and marking its package no_index
[catagits/Catalyst-Engine-STOMP.git] / testapp / lib / StompTestApp / Controller / TestController.pm
diff --git a/testapp/lib/StompTestApp/Controller/TestController.pm b/testapp/lib/StompTestApp/Controller/TestController.pm
new file mode 100644 (file)
index 0000000..b91de19
--- /dev/null
@@ -0,0 +1,14 @@
+package StompTestApp::Controller::TestController;
+use Moose;
+
+BEGIN { extends 'Catalyst::Controller::MessageDriven' };
+
+sub testaction : Local {
+    my ($self, $c) = @_;
+
+    # Reply with a minimal response message
+    my $response = { type => 'testaction_response' };
+    $c->stash->{response} = $response;
+}
+
+1;