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

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.
主站蜘蛛池模板: 正安县| 辽源市| 宜春市| 兰坪| 普宁市| 略阳县| 尖扎县| 忻城县| 城步| 岳普湖县| 翁牛特旗| 固原市| 贡觉县| 梁平县| 岳阳市| 彭泽县| 如皋市| 偏关县| 商都县| 阿克陶县| 上杭县| 金湖县| 女性| 喀喇| 武冈市| 晋州市| 安顺市| 囊谦县| 聂荣县| 海门市| 云阳县| 札达县| 独山县| 临海市| 察隅县| 德令哈市| 怀宁县| 阿图什市| 洪洞县| 连江县| 鹤壁市|