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

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.
主站蜘蛛池模板: 万州区| 凤阳县| 阿坝县| 新源县| 吉水县| 都江堰市| 内丘县| 阿巴嘎旗| 延寿县| 宁国市| 招远市| 南漳县| 广饶县| 靖江市| 达拉特旗| 麻阳| 滨海县| 日土县| 翁牛特旗| 星座| 隆尧县| 乌拉特中旗| 长治市| 舒兰市| 漠河县| 蒲城县| 惠水县| 通渭县| 邵东县| 兴化市| 石泉县| 濮阳市| 五常市| 滦南县| 申扎县| 谷城县| 永定县| 牙克石市| 清新县| 中阳县| 涟源市|