JMS java message service 定义了消息服务规范apache active MQ 实现了这一规范 你可以研究一下
不懂微软的,但javaEE中有个JMS(java message service),自己看去吧;