3 Star 0 Fork 2

李淋 / DistributedCommunication

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Distributed Communication Frame

##Configuration before running

JMS config

The publish/subscribe function is implemented using ActiveMQ. So there are something must be done for programming running.

  • modify file named activemq.xml and add the label for topics you want to support like this:

    <destinations> <topic name="Finance" physicalName="jms.Finance" /> <topic name="Military" physicalName="jms.Military" /> <topic name="Polity" physicalName="jms.Polity" /> <topic name="Log" physicalName="jms.Log" /> </destinations>

  • sometimes you need to run activemq service manually, enter the command in terminate or command line:

    activemq

  • finally, if you run it in the IDE, maybe you need to import external jars, activemq-all-5.11.1.jar, which can be acquired from floder activemq-all-5.11.1 in zip or its official site here

Some warnings

TCP/IP

All ip address used in socket for Query command is default local host 127.0.0.1. Therefore it will cast exception and crash when you try to use Query command with the server and client deployed on different hosts.
If there is a must for modify ip, please enter the Config.properties and Host.properties. ###JMS Unluckily, jms also uses local host address. You can modify it in the file named jndi.properties

空文件

简介

Java分布式通讯 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/linshao/DistributedCommunication.git
git@gitee.com:linshao/DistributedCommunication.git
linshao
DistributedCommunication
DistributedCommunication
master

搜索帮助