Hey, The problem is that a call to session.close() ends up getting stuck during a rollback
After this call in ActiveMQSession.rollback() this.connection.syncSendPacket(info); It seems to block in FutureResponse.getResult() e = (Response)this.responseSlot.take(); responseSlot only seems to have a size of 1 and it looks like the timedout request didn't return the response slot it had taken? Cheers, Paul From: christopher.l.shannon [via ActiveMQ] [mailto:ml-node+s2283324n4710341...@n4.nabble.com] Sent: 04 April 2016 18:15 To: O'Neill, Paul <onei...@dnb.com> Subject: Re: Force Producer to fail when blocked by slow consumer? Yes those settings are configured on the server side because it's the server that decides when to block. The broker is only going to throw an exception to the client if those settings have been enabled otherwise the client is just going to wait for space. As you pointed out I think the only other thing you can do on the client side is that timeout setting, but you said are seeing it hang on close. It does seem weird to me that it would hang on that close request and not be able to process that so there could be a bug there. If you could submit a small unit test that shows the close hanging when the producer is blocked that would be great and someone could look into it to see if there is some improvement that could be done to fix that. Otherwise, when I get some time I can try and reproduce the issue and create the test case. On Mon, Apr 4, 2016 at 12:24 PM, Paulon <[hidden email]</user/SendEmail.jtp?type=node&node=4710341&i=0>> wrote: > Hey, > > are they not all configured on the MQ server side though? > > I don't have access to that as its on the Customer side (we are delivering > to them) > Is there anything that can be configured on the Producer side? > > Cheers! > Paul > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Force-Producer-to-fail-when-blocked-by-slow-consumer-tp4710264p4710339.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > ________________________________ If you reply to this email, your message will be added to the discussion below: http://activemq.2283324.n4.nabble.com/Force-Producer-to-fail-when-blocked-by-slow-consumer-tp4710264p4710341.html To unsubscribe from Force Producer to fail when blocked by slow consumer?, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4710264&code=b25laWxscEBkbmIuY29tfDQ3MTAyNjR8LTE2MjMyOTIxMg==>. NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://activemq.2283324.n4.nabble.com/Force-Producer-to-fail-when-blocked-by-slow-consumer-tp4710264p4710387.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.