jbossas/jboss-as — pull request #1868 by jmesnil (2012-03-22 17:10:55+00:00)
Title: [JBPAPP-8184] Connection factory failure

* add unit test to track down the failure related to unbind/bind
sequence when recreating a Connection Factory
* in AS7BindingRegistry.unbind(), use a countdown latch to ensure
that the binder service is effectively removed when the method
returns

I hard-coded a 5s latch timeout... Not sure if this value makes sense (too much, not enough)...