In configuration component class I have a bean function where I have listener which runs in infinite loop which continuously reads redis list. Now while building the applica