there is a way to check the destination to see if PFC is enabled by checking the JMX:
https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java#L423 On Thu, Apr 16, 2015 at 7:25 PM, Kevin Burton <bur...@spinn3r.com> wrote: > I’m looking at implementing producer flow control so that I don’t fill up > the queues on my broker. > > It doesn’t look like there’s any way I can see that a client is blocking, > waiting for resources to be released. > > Maybe one strategy could be to put a stopwatch around each send() and then > I can see that I have some outstanding that have been open for a long time. > > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> > <http://spinn3r.com> > -- *Christian Posta* twitter: @christianposta http://www.christianposta.com/blog http://fabric8.io