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

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.
主站蜘蛛池模板: 德州市| 康平县| 久治县| 阿合奇县| 娄烦县| 乌海市| 睢宁县| 富民县| 青州市| 巴林左旗| 斗六市| 江陵县| 彭州市| 英超| 岑巩县| 伽师县| 民乐县| 永修县| 焉耆| 平安县| 景泰县| 鹤壁市| 大荔县| 邢台县| 商洛市| 虹口区| 信宜市| 理塘县| 武山县| 黄陵县| 富民县| 德钦县| 西藏| 突泉县| 徐州市| 原平市| 齐齐哈尔市| 新绛县| 馆陶县| 三台县| 盐边县|