FluxFlow.Components.Mqtt.PulseMqtt 4.1.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Mqtt.PulseMqtt --version 4.1.0
                    
NuGet\Install-Package FluxFlow.Components.Mqtt.PulseMqtt -Version 4.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FluxFlow.Components.Mqtt.PulseMqtt" Version="4.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Mqtt.PulseMqtt" Version="4.1.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Mqtt.PulseMqtt" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluxFlow.Components.Mqtt.PulseMqtt --version 4.1.0
                    
#r "nuget: FluxFlow.Components.Mqtt.PulseMqtt, 4.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FluxFlow.Components.Mqtt.PulseMqtt@4.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FluxFlow.Components.Mqtt.PulseMqtt&version=4.1.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Mqtt.PulseMqtt&version=4.1.0
                    
Install as a Cake Tool

FluxFlow.Components.Mqtt.PulseMqtt

Concrete transport adapter for FluxFlow.Components.Mqtt.

The current tested provider baseline is Pulse MQTT 2.29.0.

The adapter maps the neutral broker transport directly:

FluxFlow broker configuration Pulse transport
Tcp, UseTls = false TcpTransportFactory
Tcp, UseTls = true TLS TcpTransportFactory
WebSocket, UseTls = false WebSocketTransportFactory with ws
WebSocket, UseTls = true WebSocketTransportFactory with wss

WebSocket connections use WebSocketPath and the standard mqtt subprotocol. FluxFlow still creates Pulse's RawMqttClient; Pulse's resilient or hosted client is not used, so reconnect and subscription ownership stay in MqttClientController.

The package exposes PulseMqttTransportFactory, which implements the neutral IMqttTransportFactory boundary. The resulting transport session maps resolved client configuration, exact FlowContent bytes, subscriptions, connection events, transport failures, and broker acknowledgements.

The adapter does not own workflow policy. MqttClientController owns:

  • logical client lifecycle
  • auto-connect and reconnect policy
  • desired subscription restoration
  • trigger ownership claims
  • command results
  • workflow acknowledgement
  • diagnostic events

Composition

This adapter does not expose composition factories or depend on FluxFlow.Composition. Register it with the host, then let FluxFlow.Components.Mqtt.Composition resolve the transport factory for a canonical mqtt.client resource.

Registration

Register one host default:

services.AddSingleton<IMqttTransportFactory>(
    new PulseMqttTransportFactory());

Or select adapters per logical client using the full client resource address:

services.AddKeyedSingleton<IMqttTransportFactory>(
    "Resources.Messaging.Client1",
    new PulseMqttTransportFactory());

An existing provider transport factory may be supplied to PulseMqttTransportFactory when the host owns provider transport setup. FluxFlow.Components.Mqtt.Composition resolves a keyed factory first and then the unkeyed host default.

Boundary

  • Broker endpoint, client identity, credentials, certificates, keepalive, clean-start, and Last Will arrive as MqttClientConfiguration.
  • Publish payloads retain exact bytes and content metadata.
  • Received provider messages become MqttReceivedApplicationMessage values.
  • QoS delivery tokens remain provider details behind the transport session.
  • Provider failures are classified through MqttTransportException so the core can construct stable normal results.
  • The session does not implement reconnect policy, durable workflow mailboxes, or desired-state ownership.
  • Browser applications use WebSocket/WSS. Native client-certificate and other host capability checks belong to the browser host, not this adapter.

Version 3 removes the previous convenience client, adapter-specific client and store options, hosted lifecycle registration, publisher/trigger interfaces, and health API. Use the core controller and this transport factory instead.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-rc.1 53 9/5/2026
4.1.0 119 8/9/2026
4.0.0 112 8/3/2026
2.0.8 122 7/3/2026
2.0.7 115 7/2/2026
1.0.0 120 6/20/2026

Uses Pulse MQTT 2.29.0 and maps the neutral FluxFlow broker configuration to TCP, TLS, WebSocket, and secure WebSocket raw transports.