Git Product home page Git Product logo

deepway's Introduction

deepway是简单的企业系统间集成的工具。

通过deepway能够方便的集成各种系统。代码级的数据总线 数据总线 方便路由管理

数据总线 方便查看数据

目前支持的协议: ftp,sftp,file,smb(共享目录),webservice代理(webservice转发) 加上webservice转发就更想一个企业数据总想了。 2017年3月1日更新 新增加Webservice转发的功能

2017年1月16日更新 新增加了http和https协议

需要帮助可以联系QQ:646761506或者在 //138.xjee.cn/dc/ 上发留言给我!

DeepWay依赖mongodb和redis,因此如果需要启动需要安装它们,相关的配置文件在deepway.properties文件中

下面的test代码可以看出启动,暂停路由操作

@Test
public void startRout() throws Exception {
	deepRouteService.startRoute();//启动全部路由
	logger.info("============================");
	
	List<DeepRoute>  routes = deepRouteService.findAll();
	for (DeepRoute deepRoute : routes) {
		String routeId = deepRoute.getRouteid();
		ServiceStatus serviceStatus = camelContext.getRouteStatus( routeId );
		logger.info(String.format("Route ID:%s|Status:%s",routeId, serviceStatus));
		if (ServiceStatus.Suspended.equals(serviceStatus)) {// 暂停
			camelContext.resumeRoute(routeId);
		} else if (ServiceStatus.Started.equals(serviceStatus)) {// 启动
			camelContext.suspendRoute(routeId);//暂停路由
		}
		logger.info(String.format("Route ID:%s|Status:%s",routeId,  camelContext.getRouteStatus( routeId )));
	}
	
}

deepway's People

Contributors

manneting avatar

Watchers

张朝晖 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.