ITPub博客

首页 > Linux操作系统 > Linux操作系统 > jms activeMQ与spring集成进阶篇

jms activeMQ与spring集成进阶篇

原创 Linux操作系统 作者:jiaqliguang 时间:2012-07-31 13:49:09 0 删除 编辑


客户端:

xml配置,这里用到了两台服务器,connectionFactory便可以看出,因为传的是对象,用到了转换器

1

2

3 http://www.springframework.org/schema/beans"

4

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

5

xmlns:context="http://www.springframework.org/schema/context"

6

xsi:schemaLocation="http://www.springframework.org/schema/beans

7

http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

8

http://www.springframework.org/schema/context

9

http://www.springframework.org/schema/context/spring-context-2.5.xsd">10 11 12

<!-- 配置JMS连接工厂 -->13 14 <!--

-->15 <!--

-->16 <!--

-->17 18

19

20

21

22

tcp://localhost:6161623

24

25

true26

27

28

29

30 31 32

33

34

35

36

tcp://192.168.130.13:6161637

38

39

true40

41

42

43

44 45

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27216498/viewspace-739162/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: jsp+oracle分页实现
请登录后发表评论 登录
全部评论

注册时间:2012-07-31

  • 博文量
    5
  • 访问量
    2891