private void registerListener()
{
if (proxyOfferListener_ == null)
{
final NotifyPublishOperations _listener = getOfferListener();
if (_listener != null)
{
proxyOfferListener_ = new NotifyPublishOperations()
{
public void offer_change(EventType[] added, EventType[] removed)
{
try
{
_listener.offer_change(added, removed);
} catch (NO_IMPLEMENT e)
{
logger_.info("disable offer_change for connected Consumer.", e);
removeListener();