Resource must be added to broadcaster before calling addMessageListener.