Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update synopsis so it provides workable example. #1

Closed
wants to merge 1 commit into from

2 participants

@vpp

It seems that setting "trace" property is essential if one wants to get messages be dumped.

@dakkar
Owner

Turns out the particular use case was doing something complicated with a mock object around a Net::Stomp::Producer, and confusing the role application. Simplifying vpp's code removed the problem.

@dakkar dakkar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 21, 2012
  1. @vpp
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Net/Stomp/MooseHelpers/TraceOnly.pm
View
1  lib/Net/Stomp/MooseHelpers/TraceOnly.pm
@@ -18,6 +18,7 @@ with 'Net::Stomp::MooseHelpers::TracerRole';
with 'Net::Stomp::MooseHelpers::TraceOnly';
$self->trace_basedir('/tmp/stomp_dumpdir');
+ $self->trace(1);
B<NOTE>: a C<CanConnect> consuming this role will never talk to the
network, and will C<die> if asked to receive frames.
Something went wrong with that request. Please try again.