Monai.Deploy.Messaging 2.0.4

dotnet add package Monai.Deploy.Messaging --version 2.0.4
                    
NuGet\Install-Package Monai.Deploy.Messaging -Version 2.0.4
                    
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="Monai.Deploy.Messaging" Version="2.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Monai.Deploy.Messaging" Version="2.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Monai.Deploy.Messaging" />
                    
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 Monai.Deploy.Messaging --version 2.0.4
                    
#r "nuget: Monai.Deploy.Messaging, 2.0.4"
                    
#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 Monai.Deploy.Messaging@2.0.4
                    
#: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=Monai.Deploy.Messaging&version=2.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Monai.Deploy.Messaging&version=2.0.4
                    
Install as a Cake Tool

<p align="center"> <img src="https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/docs/images/MONAI-logo-color.png" width="50%" alt='project-monai'> </p>

💡 If you want to know more about MONAI Deploy WG vision, overall structure, and guidelines, please read MONAI Deploy first.

MONAI Deploy Messaging

License codecov ci Nuget

The MONAI Deploy Messaging library for MONAI Deploy clinical data pipelines system enables users to extend the system to external message broker services by implementing the IMessageBrokerPublisherService and IMessageBrokerSubscriberService APIs. The APIs allow the users to plug in any other message broker services, such as Apache Kafka and Azure Service Bus.

Currently supported message broker services:

* Services provided may not be free or requires special license agreements. Please refer to the service providers' website for additional terms and conditions.

If you would like to use a message broker service not listed above, please file an issue and contribute to the repository.


Installation

1. Configure the Service

To use the MONAI Deploy Messaging library, install the NuGet.Org package and call the AddMonaiDeployMessageBrokerSubscriberService(...) and/or the AddMonaiDeployMessageBrokerPublisherService(...) method to register the dependencies:

Host.CreateDefaultBuilder(args)
    .ConfigureServices((hostContext, services) =>
    {
        ...
        // Register the subscriber service
        services.AddMonaiDeployMessageBrokerSubscriberService(hostContext.Configuration.GetSection("InformaticsGateway:messaging:publisherServiceAssemblyName").Value);

        // Register the publisher service
        services.AddMonaiDeployMessageBrokerPublisherService(hostContext.Configuration.GetSection("InformaticsGateway:messaging:subscriberServiceAssemblyName").Value);
        ...
    });

2. Install the Plug-in

  1. Create a subdirectory named plug-ins in the directory where your main application is installed.
  2. Download the zipped plug-in of your choice and extract the files to the plug-ins directory.
  3. Update appsettings.json and set the publisherServiceAssemblyName and the subscriberServiceAssemblyName, e.g.:
     "messaging": {
       "publisherServiceAssemblyName": "Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessagePublisherService, Monai.Deploy.Messaging.RabbitMQ",
       "publisherSettings": {
         ...
       },
       "subscriberServiceAssemblyName": "Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessageSubscriberService, Monai.Deploy.Messaging.RabbitMQ",
       "subscriberSettings": {
         ...
       }
     },
    

3. Restrict Acess to the Plug-ins Directory

To avoid tampering of the plug-ins, it is recommended to set access rights to the plug-ins directory.


Releases

The MONAI Deploy Messaging library is released in NuGet format, which is available on both NuGet.Org and GitHub.

Official Builds

Official builds are made from the main branch.

RC Builds

Release candidates are built and released from the release/* branches.

Development Builds

Development builds are made from all branches except the main branch and the release/* branches. The NuGet packages are released to GitHub only.

Contributing

For guidance on contributing to MONAI Deploy Messaging, see the contributing guidelines.

Join the conversation on Twitter @ProjectMONAI or join our Slack channel.

Ask and answer questions over on MONAI Deploy Messaging's GitHub Discussions tab.

License

Copyright (c) MONAI Consortium. All rights reserved. Licensed under the Apache-2.0 license.

This software uses the Microsoft .NET 6.0 library, and the use of this software is subject to the Microsoft software license terms.

By downloading this software, you agree to the license terms & all licenses listed on the third-party licenses page.

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 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on Monai.Deploy.Messaging:

Package Downloads
Monai.Deploy.Messaging.RabbitMQ

RabbitMQ plug-in for MONAI Deploy Messaging Service.

Monai.Deploy.InformaticsGateway.Api

MONAI Deploy Informatics Gateway API

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.4 1,351 3/24/2025
2.0.3 676 6/12/2024
2.0.2 4,157 2/9/2024
2.0.0 1,377 1/5/2024
1.0.6 615 12/14/2023
1.0.6-rc0004 183 12/14/2023
1.0.5 764 11/23/2023
1.0.5-rc0008 193 11/23/2023
1.0.5-rc0006 496 11/9/2023
1.0.4 2,548 10/24/2023
1.0.4-rc0006 208 10/24/2023
1.0.4-rc0004 229 10/23/2023
1.0.4-rc0002 182 10/23/2023
1.0.4-rc0000 189 10/23/2023
1.0.3 536 10/13/2023
1.0.3-rc0012 196 10/13/2023
1.0.2 223 10/11/2023
1.0.2-rc0031 194 10/11/2023
1.0.2-rc0029 209 10/11/2023
1.0.2-rc0012 194 10/11/2023
1.0.1 1,230 9/12/2023
1.0.0 658 8/24/2023
1.0.0-rc0007 238 8/24/2023
1.0.0-rc0000 206 8/24/2023
0.3.0-rc0015 207 8/24/2023
0.3.0-rc0009 217 8/24/2023
0.3.0-rc0008 247 8/24/2023
0.3.0-rc0007 226 8/24/2023
0.2.1-rc0001 228 8/24/2023
0.2.0 263 8/22/2023
0.2.0-rc0001 226 8/22/2023
0.1.25 550 8/16/2023
0.1.24 564 8/7/2023
0.1.23 1,673 5/17/2023
0.1.22 5,750 3/15/2023
0.1.21 866 3/9/2023
0.1.20 626 3/8/2023
0.1.19 4,091 12/14/2022
0.1.18 682 11/30/2022
0.1.16 776 11/16/2022
0.1.15 1,764 11/14/2022
0.1.14 827 11/10/2022
0.1.11 905 11/9/2022
0.1.10 715 11/7/2022
0.1.9 1,302 11/2/2022
0.1.8 3,127 10/11/2022
0.1.7 784 10/10/2022
0.1.6 935 10/3/2022
0.1.5 1,388 9/20/2022
0.1.4 1,812 8/31/2022
0.1.3 1,262 8/18/2022
0.1.2 1,410 6/28/2022
0.1.1 781 4/6/2022
0.1.0 791 4/6/2022