上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 71 下一页
摘要: activemq的日志信息主要配置两个文件1、conf/log4j.properties 2、conf/logging.properties 来自为知笔记(Wiz) 阅读全文
posted @ 2016-10-17 17:31 扯 阅读(14059) 评论(0) 推荐(0) 编辑
摘要: 如果Activemq不加安全配置,那么任何知道队列所在服务器IP的人都可以发送接收队列消息安全配置主要是通过配置账号密码增强安全性参考资料:http://activemq.apache.org/security.html 1、添加访问队列的账号密码:conf/activemq.xml//定义了一个 wusc 用户,密码为 wusc.123,角色为 users,admins(broker节点下添加)... 阅读全文
posted @ 2016-10-17 17:26 扯 阅读(1902) 评论(0) 推荐(0) 编辑
摘要: 一、本文章包含的内容 1、列举了ActiveMQ中监听器的使用 2、spring+activemq方式 1 2 3 <!-- 消息监听容器(Queue),配置连接工厂,监听的队列是queue3,监听器是上面定义的监听器 --> <!--加载spring配置后,studentInfoHandler的o 阅读全文
posted @ 2016-10-17 16:19 扯 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 一、本文章包含的内容 1、列举了ActiveMQ中通过Topic方式发送、消费队列的代码(监听者有两个,分别是topicMessageListener1、topicMessageListener2) 2、spring+activemq方式 二、配置信息 1、activemq的pom.xml信息 1 阅读全文
posted @ 2016-10-17 16:11 扯 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 一、本文章包含的内容 1、列举了ActiveMQ中通过Queue方式发送、消费队列的代码(普通文本、json/xml字符串、对象数据) 2、spring+activemq方式 二、配置信息 1、activemq的pom.xml信息 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 阅读全文
posted @ 2016-10-17 15:57 扯 阅读(4587) 评论(0) 推荐(1) 编辑
摘要: 一、下载:apache-activemq-5.14.0-bin.tar.gz http://activemq.apache.org/activemq-5140-release.html 二、安装activemq 1、gz文件拷贝到/usr/local/src目录 2、解压启动 tar -zxvf a 阅读全文
posted @ 2016-10-17 15:24 扯 阅读(22457) 评论(0) 推荐(2) 编辑
摘要: 一、假设有四个Maven项目 1、soa-dub-parent:父项目 1 2 3 4 5 <modules> <module>../soa-dub-facade</module> <module>../soa-dub-service</module> </modules> 1 2 3 4 5 <m 阅读全文
posted @ 2016-10-17 15:21 扯 阅读(11519) 评论(0) 推荐(0) 编辑
摘要: chmod 755 demo.sh./demo.sh12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970#!/bin/bash# Author:James 2016-10-15 # 集合以空... 阅读全文
posted @ 2016-10-15 11:14 扯 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 有A,B,C三个Job,A为服务或web Job,B,C为A依赖的其它Job 单独建个Job,按B,C,A的顺序进行编译 1、安装插件:Multijob plugin 2、新建A,B,C三个Job 3、新建Job D,按B,C,A顺序运行Job D a) 新增Job D b) 不设置源码管理 c)设 阅读全文
posted @ 2016-10-14 17:34 扯 阅读(13386) 评论(1) 推荐(0) 编辑
摘要: 安装nmap: yum install nmap -y nmap 127.0.0.1 脚本 vim apache_is_start.sh chmod 755 apache_is_start.sh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 # 阅读全文
posted @ 2016-10-14 13:45 扯 阅读(2773) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 71 下一页