项目作者: fjoppe

项目描述 :
企业集成模式的F#DSL
高级语言: F#
项目地址: git://github.com/fjoppe/FsIntegrator.git
创建时间: 2016-03-26T21:39:30Z
项目社区:https://github.com/fjoppe/FsIntegrator

开源协议:The Unlicense

下载


Issue Stats
Issue Stats

FsIntegrator

F# DSL for Enterprise Integration Patterns

Create easy message routes, like this:

  1. let Route1 =
  2. From.File fileListenerPath
  3. =>= SetMessageType
  4. =>= To.Choose [
  5. When(Header("type") &= "add")
  6. =>= To.Process(fun m -> logger.Debug("Add Process"))
  7. =>= PrintMessageContent
  8. When(Header("type") &= "delete")
  9. =>= To.Process(fun m -> logger.Debug("Delete Process"))
  10. =>= PrintMessageContent
  11. When(Header("type") &= "update")
  12. =>= To.Process(fun m -> logger.Debug("Update Process"))
  13. =>= PrintMessageContent
  14. ]
  15. =>= To.Process(fun m -> logger.Debug("After Choose"))

The current focus is on user-experience of this DSL. The machine below the hood is working, but this machinery may lack features.

In order to build this project run:

  1. > build.cmd // on windows
  2. $ ./build.sh // on unix

Notes:
This project currently builds under Visual Studio 2015. Due to the renaming process, the Build scripts do not work yet… but that’ll change soon.

Maintainer(s)