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