官术网_书友最值得收藏!

Spring JMS

The idea of this project provides a JMS integration with ideas of Spring Framework projects and supplies a high-level API to interact with brokers. The worst part of a JMS specification is that it has a lot of boilerplate code to manage and close connections.

The JmsTemplate is a central class for this module, and it enables us to send messages to the broker. The JMS specification has a lot of intrinsic behaviors to handle the creation and releases resources, for instance, the JmsTemplate class do this tasks automatically for developers.

The module also supports transactional requirements. The JmsTransactionManager is the class that handles the transactional behavior of the Spring JMS module.

Spring removes the boilerplate code with a couple of annotations. The framework increases the readability of the code and makes the code more intuitive as well.

Some common annotations are  @JmsListener and  @EnableJms.
主站蜘蛛池模板: 凌海市| 博湖县| 滨海县| 云霄县| 西青区| 昭通市| 弥勒县| 余姚市| 西乌珠穆沁旗| 宁夏| 宜丰县| 新绛县| 南溪县| 桃园市| 托克托县| 永福县| 荔波县| 瑞丽市| 车险| 神木县| 绵竹市| 唐山市| 民丰县| 屯留县| 土默特左旗| 怀集县| 许昌市| 正蓝旗| 定西市| 丹寨县| 广州市| 巴彦淖尔市| 深州市| 天等县| 新源县| 仙桃市| 莒南县| 丰台区| 长汀县| 隆昌县| 肃南|