This is a .NET C# RabbitMQ template for the AsyncAPI generator
This template is for generating a .NET C# wrapper for the RabbitMQ client based on your AsyncAPI document. The template uses the RabbitMQ C# Client library.
Have you found a bug or have an idea for improvement? Feel free to contribute! See the contribution guidelines how to do so.
Given any AsyncAPI file (AsyncAPI.yml
) first generate the client with the AsyncAPI generator such as
ag .\asyncapi.yaml .\dotnet-rabbitmq-template\ -o .\output --force-write
The generated output shall be seen a subscriber and/or publisher of message on/from a rabbit mq broker.
- @asyncapi/generator < v2.0.0 > v1.1.1
Install the generator through npm or run it from docker official installer.
These are the available template parameters:
Parameter | Type | Description |
---|---|---|
namespace | String | Use this parameter to specify the namespace for the generated C# client --param "namespace=Company.Services" , defaults to Demo |
user | String | Use this parameter to specify a user for for accessing the RabbitMq cluster --param "user=username" , defaults to user |
password | String | Use this parameter to specify a password for for accessing the RabbitMq cluster --param "password=password" , defaults to password |
Before contributing please read the CONTRIBUTING document.
Thanks goes to these wonderful people (emoji key):
Peter Wikström 💻 🚧 💬 🤔 📖 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!