if (routesActive == null) {
synchronized (queueSession) {
routesActive = queueSession.getAttribute(Boolean.class, CDI_EVENT_ROUTES_ACTIVE);
if (routesActive == null) {
final LaundryList laundryList = LaundryListProviderFactory.get().getLaundryList(queueSession);
laundryList.add(new Laundry() {
@Override
public void clean() throws Exception {
removeAllForId(queueSession.getSessionId());
}
});