• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Properties/11-Mar-2024-3915

ServiceImpl/11-Mar-2024-337192

App.configD11-Mar-20241.3 KiB3412

Program.csD11-Mar-20242.7 KiB8246

README.mdD11-Mar-20241.2 KiB2720

RebusSample.csprojD11-Mar-20244.3 KiB10277

RebusSample.slnD11-Mar-20241.4 KiB2927

sample.thriftD11-Mar-20241.1 KiB3127

README.md

1Sample 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)
22
23Deprecation notice:
24Csharp is not a supported Apache Thrift target anymore. Instead netstd is the
25recommended replacement. This code is left "as is" for educational purposes
26unless someone converts it to netstd
27