jms activeMQ与spring集成进阶篇

2012073021053762.png

客户端:

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

1 <?xml version="1.0" encoding="UTF-8"?>

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连接工厂 --&gt13 14 <!--

--&gt15 <!--

--&gt16 <!--

--&gt17 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博客 ” ,链接:http://blog.itpub.net/27216498/viewspace-739162/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/27216498/viewspace-739162/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值