@Saikrishna Can you please share the Java class code here for us to check if everything is in order.
Also, If it was working earlier ,see if your eventListener is blacklisted. That can also cause the eventlistener to stop working.
check if you see this message in the logs if you think it might be...