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

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.
主站蜘蛛池模板: 杭锦后旗| 洛浦县| 兖州市| 鹿邑县| 喀喇沁旗| 塔河县| 宜春市| 寿宁县| 高安市| 新疆| 武义县| 遵义市| 平武县| 株洲市| 顺昌县| 阜新市| 黑龙江省| 兴义市| 交口县| 攀枝花市| 肥东县| 年辖:市辖区| 平武县| 河北省| 泰顺县| 遂溪县| 新绛县| 嘉祥县| 上蔡县| 曲松县| 芷江| 南充市| 巴青县| 财经| 河间市| 会理县| 白水县| 洱源县| 陕西省| 荥阳市| 长寿区|