Skip to content

This template is for generating a .NET C# wrapper for the RabbitMQ client based on your AsyncAPI document.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

asyncapi/dotnet-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

  • @asyncapi/generator < v2.0.0 > v1.1.1

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!

About

This template is for generating a .NET C# wrapper for the RabbitMQ client based on your AsyncAPI document.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE.md

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •