VibeMQ.Client
1.8.0
dotnet add package VibeMQ.Client --version 1.8.0
NuGet\Install-Package VibeMQ.Client -Version 1.8.0
<PackageReference Include="VibeMQ.Client" Version="1.8.0" />
<PackageVersion Include="VibeMQ.Client" Version="1.8.0" />
<PackageReference Include="VibeMQ.Client" />
paket add VibeMQ.Client --version 1.8.0
#r "nuget: VibeMQ.Client, 1.8.0"
#:package VibeMQ.Client@1.8.0
#addin nuget:?package=VibeMQ.Client&version=1.8.0
#tool nuget:?package=VibeMQ.Client&version=1.8.0
VibeMQ.Client
Client library for connecting to VibeMQ message broker. Publish and subscribe to queues with automatic reconnection and keep-alive.
Installation
dotnet add package VibeMQ.Client
Quick start
using VibeMQ.Client;
await using var client = await VibeMQClient.ConnectAsync(
"localhost",
2925,
new ClientOptions {
Username = "admin",
Password = "change-me"
}
);
// Publish
await client.PublishAsync("notifications", new { Title = "Hello", Body = "World" });
// Subscribe
await using var sub = await client.SubscribeAsync<dynamic>("notifications", msg => {
Console.WriteLine(msg.Title);
return Task.CompletedTask;
});
Documentation
Full documentation: https://vibemq.readthedocs.io/
Dependency Injection
For ASP.NET Core / Worker Service, use VibeMQ.Client.DependencyInjection. It registers both IVibeMQClientFactory (create and own a client) and IVibeMQClient (inject a shared, lazily-connected client). The concrete type VibeMQClient implements IVibeMQClient.
License
MIT. See repository for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.14)
- VibeMQ.Core (>= 1.8.0)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- VibeMQ.Core (>= 1.8.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on VibeMQ.Client:
| Package | Downloads |
|---|---|
|
VibeMQ.Client.DependencyInjection
Microsoft.Extensions.DependencyInjection integration for VibeMQ client |
GitHub repositories
This package is not used by any popular GitHub repositories.