Giter Site home page Giter Site logo

iccb1013 / sheng.rabbitmq.commandexecuter Goto Github PK

View Code? Open in Web Editor NEW
26.0 5.0 22.0 7.45 MB

使用 .Net 对 RabbitMQ 的一个简单封装。通过配置文件定义队列等信息,方便 .Net 开发人员使用 RabbitMQ。并实现了一个基于 MQ 的命令执行器,将 MQ 消息抽象化为命令,发布端和订阅端通过命令进行交互。默认实现了两个命令:1)HTTP请求转发,将收到的MQ消息的指定内容转发到指定URL上;2)数据库同步,通过预先定义的配置文件,指明不同数据库和表之间的关联关系,发送端向 MQ 中发布数据库同步命令后,订阅方(可作为 windows 服务部署,已在工程中实现)负责解析并执行数据库同步工作。 你可以直接使用基本的 RabbitMQ 封装,也可以在此命令模式的基础上实现你自己的命令。

Home Page: http://sheng.city/post/sheng-rabbitmq-commandexecuter

License: MIT License

C# 82.00% Batchfile 0.34% PowerShell 15.03% TSQL 2.63%

sheng.rabbitmq.commandexecuter's Introduction

Sheng.RabbitMQ.CommandExecuter

请访问原版代码库,以获得最新更新: https://github.com/iccb1013/Sheng.RabbitMQ.CommandExecuter

MIT 协议开源,可以随意使用,但是需在源代码和产品关于画面保留版权声明和我的网站链接,谢谢。

Sheng.RabbitMQ.CommandExecuter 是使用 .Net 对 RabbitMQ 的一个简单封装。

它通过XML配置文件定义Exchange及队列等信息,根据此配置文件自动声明及初始化相关队列信息,方便 .Net 开发人员使用 RabbitMQ。

并实现了一个基于 MQ 的命令执行器,将 MQ 消息抽象化为命令,发布端和订阅端通过命令进行交互。默认实现了两个命令:

  • HTTP请求转发,将收到的MQ消息的指定内容转发到指定URL上;
  • 数据库同步,通过预先定义的配置文件,指明不同数据库和表之间的关联关系,发送端向 MQ 中发布数据库同步命令后,订阅方(可作为 windows 服务部署,已在工程中实现)负责解析并执行数据库同步工作。

你可以直接使用基本的 RabbitMQ 封装,也可以在此命令模式的基础上实现你自己的命令。

详细说明请浏览: https://shengxunwei.com

曹旭升(sheng.c)
QQ:279060597
Email:[email protected]
@南京

sheng.rabbitmq.commandexecuter's People

Contributors

iccb1013 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.