registering messages using setLocalListener #SOCRFW-87