Apache.NMS.ActiveMQ.QueueBrowser.BrowsingMessageConsumer.Dispatch C# (CSharp) Method

Dispatch() public method

public Dispatch ( MessageDispatch md ) : void
md Apache.NMS.ActiveMQ.Commands.MessageDispatch
return void
            public override void Dispatch(MessageDispatch md)
            {
                if(md.Message == null)
                {
                    Tracer.Debug("QueueBrowser recieved Null Message in Dispatch, Browse Done.");
                    parent.browseDone.Value = true;
                }
                else
                {
                    Tracer.Debug("QueueBrowser dispatching next Message to Consumer.");
                    base.Dispatch(md);
                }

                parent.NotifyMessageAvailable();
            }
QueueBrowser.BrowsingMessageConsumer