コード例 #1
0
ファイル: Post.cs プロジェクト: zhangzheng12/EApp
        public void Publish()
        {
            //send to Message Queue.

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

                postMQ.Commit();
            }
        }
コード例 #2
0
ファイル: Post.cs プロジェクト: tu226/Eagle
        public void Publish() 
        { 
            //send to Message Queue.

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

                postMQ.Commit();
            }
        }