asyncapi / dotnet-rabbitmq-template

This template is for generating a .NET C# wrapper for the RabbitMQ client based on your AsyncAPI document.
Apache License 2.0
9 stars 3 forks source link
asyncapi codegen generator nodejs rabbitmq template

.NET C# RabbitMQ template

This is a .NET C# RabbitMQ template for the AsyncAPI generator

All Contributors

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.

Example usage

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

How to use

The generated output shall be seen a subscriber and/or publisher of message on/from a rabbit mq broker.

Requirements

Install the generator through npm or run it from docker official installer.

Template Parameters

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

Contributing

Before contributing please read the CONTRIBUTING document.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Peter Wikström

💻 🚧 💬 🤔 📖 🐛

This project follows the all-contributors specification. Contributions of any kind welcome!