summaryrefslogtreecommitdiff
path: root/contrib/Rebus/README.md
blob: bbb9c496ea98e1076ff0cf82d21f80d1a2fa4f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sample code for the combination of Thrift with Rebus.

Rebus is a .NET service bus, similar to NServiceBus, but more lightweight. 
It ihas been mainly written by Mogens Heller Grabe and is currently hosted 
on GitHub (https://github.com/rebus-org/Rebus)

As with all ServiceBus or MQ scenarios, due to the highly asynchronous 
operations it is recommended to do all calls as "oneway void" calls.

The configuration can be done via App.Config, via code or even mixed from 
both locations. Refer to the Rebus documentation for further details. For 
this example, since we are effectively implementing two queue listeners in 
only one single process, we do configuration of incoming and error queues 
in the code.

If you want to communicate with non-NET languages, you may need a customized 
serializer as well, in order to override Rebus' default wire format. Please 
refer to the Rebus docs on how to do that (it's not that hard, really).

Additional requirements:
- RabbitMQ .NET client (see nuget)