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

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.
主站蜘蛛池模板: 罗江县| 新平| 桐庐县| 海宁市| 三亚市| 牟定县| 漯河市| 扶沟县| 永登县| 德庆县| 普定县| 民勤县| 中方县| 济宁市| 香格里拉县| 梅河口市| 大石桥市| 咸宁市| 宜丰县| 绵阳市| 临城县| 潜山县| 久治县| 东乡族自治县| 德安县| 乳山市| 安阳县| 榆林市| 桦南县| 定安县| 纳雍县| 潼关县| 湾仔区| 安国市| 漾濞| 武陟县| 靖江市| 大连市| 长春市| 金昌市| 陵水|