[jboss-user] [JBoss jBPM] - Re: Lost messages with 150 concurrent requests for BPEL

alex.guizar@jboss.com do-not-reply at jboss.com
Fri May 23 13:11:38 EDT 2008


The message is left in the queue when a non-recoverable exception occurs. Currently only StaleStateException and LockAcquisitionException are treated as recoverable. System exceptions, such a connection acquisition problem, need administrative action before proceeding, so they are not recovered automatically.

After you fix the problem you would recover the affected process manually. Neither the console nor a simple API call currently allow you to do so for individual process instances, but you can do it for all instances by redeploying the .ear.

Re: jmsConnection.stop(), there is a feature documented in the javadoc for that method which may explain the behavior:
anonymous wrote : If message listeners are running when stop is invoked, the stop call must wait until all of them have returned before it may return. While these message listeners are completing, they must have the full services of the connection available to them.
If no reception is in course when you invoke the method and still delivery does not stop, then there is an probably an anomaly in the implementation.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153054#4153054

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153054



More information about the jboss-user mailing list