1.创建一个JMS connectionfactory
2.通过connection factory来创建JMS connection
3.启动JMS connection
4.通过connection创建JMS session
5.创建JMS destination
6.创建JMS producer,或者创建JMS message,并设置destination
7.创建JMS consumer,或者是注册一个JMS message listener
8.发送或者接受JMS message(s)
9.关闭所有的JMS资源(connection, session, producer, consumer等) 。
Last modification:July 18, 2019
© Allow specification reprint
Comment here is closed