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

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.
主站蜘蛛池模板: 莱西市| 南安市| 麻城市| 南京市| 昔阳县| 平罗县| 江口县| 利川市| 栾城县| 宜川县| 岳阳市| 安远县| 怀来县| 樟树市| 青铜峡市| 常德市| 紫阳县| 浙江省| 蓬莱市| 顺平县| 平湖市| 永顺县| 米易县| 铜川市| 浮梁县| 咸阳市| 栾城县| 伊春市| 阜南县| 潍坊市| 徐汇区| 德州市| 云浮市| 稻城县| 宣威市| 新乡县| 汕尾市| 民和| 德庆县| 榕江县| 浮梁县|