Example #1
0
        public void Publish()
        {
            //send to Message Queue.

            using (RedisMQBus <Post> postMQ = new RedisMQBus <Post>("MQ_Post"))
            {
                postMQ.Publish(this);

                postMQ.Commit();
            }
        }
Example #2
0
File: Post.cs Project: tu226/Eagle
        public void Publish() 
        { 
            //send to Message Queue.

            using (RedisMQBus<Post> postMQ = new RedisMQBus<Post>("MQ_Post"))
            {
                postMQ.Publish(this);

                postMQ.Commit();
            }
        }