Apache.NMS.ActiveMQ.SessionExecutor.Execute C# (CSharp) Method

Execute() public method

public Execute ( MessageDispatch dispatch ) : void
dispatch Apache.NMS.ActiveMQ.Commands.MessageDispatch
return void
        public void Execute(MessageDispatch dispatch)
        {
            // Add the data to the queue.
            this.messageQueue.Enqueue(dispatch);
            this.Wakeup();
        }