blob: bbb9c496ea98e1076ff0cf82d21f80d1a2fa4f61 [file] [log] [blame]
Jens Geyerb39b5ea2014-03-07 19:42:28 +01001Sample code for the combination of Thrift with Rebus.
2
3Rebus is a .NET service bus, similar to NServiceBus, but more lightweight.
4It ihas been mainly written by Mogens Heller Grabe and is currently hosted
5on GitHub (https://github.com/rebus-org/Rebus)
6
7As with all ServiceBus or MQ scenarios, due to the highly asynchronous
8operations it is recommended to do all calls as "oneway void" calls.
9
10The configuration can be done via App.Config, via code or even mixed from
11both locations. Refer to the Rebus documentation for further details. For
12this example, since we are effectively implementing two queue listeners in
13only one single process, we do configuration of incoming and error queues
14in the code.
15
16If you want to communicate with non-NET languages, you may need a customized
17serializer as well, in order to override Rebus' default wire format. Please
18refer to the Rebus docs on how to do that (it's not that hard, really).
19
20Additional requirements:
21- RabbitMQ .NET client (see nuget)