Monai.Deploy.Messaging 2.0.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Monai.Deploy.Messaging --version 2.0.3                
NuGet\Install-Package Monai.Deploy.Messaging -Version 2.0.3                
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.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Monai.Deploy.Messaging --version 2.0.3                
#r "nuget: Monai.Deploy.Messaging, 2.0.3"                
#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.
// Install Monai.Deploy.Messaging as a Cake Addin
#addin nuget:?package=Monai.Deploy.Messaging&version=2.0.3

// Install Monai.Deploy.Messaging as a Cake Tool
#tool nuget:?package=Monai.Deploy.Messaging&version=2.0.3                

<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. 
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
3.0.0-rc0059 107 2/9/2024
3.0.0-rc0058 106 2/8/2024
2.0.3 440 6/12/2024
2.0.3-rc0054 118 6/12/2024
2.0.3-rc0001 95 6/12/2024
2.0.2 2,335 2/9/2024
2.0.0 683 1/5/2024
2.0.0-rc0003 160 1/4/2024
2.0.0-rc0002 128 1/4/2024
2.0.0-rc0001 146 1/2/2024
1.0.6 533 12/14/2023
1.0.6-rc0004 141 12/14/2023
1.0.5 644 11/23/2023
1.0.5-rc0008 141 11/23/2023
1.0.5-rc0006 408 11/9/2023
1.0.4 659 10/24/2023
1.0.4-rc0006 152 10/24/2023
1.0.4-rc0004 176 10/23/2023
1.0.4-rc0002 126 10/23/2023
1.0.4-rc0000 140 10/23/2023
1.0.3 443 10/13/2023
1.0.3-rc0012 141 10/13/2023
1.0.2 165 10/11/2023
1.0.2-rc0031 136 10/11/2023
1.0.2-rc0029 147 10/11/2023
1.0.2-rc0012 134 10/11/2023
1.0.1 1,017 9/12/2023
1.0.0 504 8/24/2023
1.0.0-rc0007 170 8/24/2023
1.0.0-rc0000 131 8/24/2023
0.3.0-rc0015 143 8/24/2023
0.3.0-rc0009 149 8/24/2023
0.3.0-rc0008 164 8/24/2023
0.3.0-rc0007 151 8/24/2023
0.2.1-rc0001 160 8/24/2023
0.2.0 187 8/22/2023
0.2.0-rc0001 150 8/22/2023
0.1.25 433 8/16/2023
0.1.24 403 8/7/2023
0.1.23 1,140 5/17/2023
0.1.22 3,183 3/15/2023
0.1.21 669 3/9/2023
0.1.20 485 3/8/2023
0.1.19 2,331 12/14/2022
0.1.18 531 11/30/2022
0.1.16 614 11/16/2022
0.1.15 1,003 11/14/2022
0.1.14 694 11/10/2022
0.1.11 778 11/9/2022
0.1.10 613 11/7/2022
0.1.9 1,158 11/2/2022
0.1.8 2,933 10/11/2022
0.1.7 678 10/10/2022
0.1.6 827 10/3/2022
0.1.5 1,274 9/20/2022
0.1.4 1,700 8/31/2022
0.1.3 1,151 8/18/2022
0.1.2 1,287 6/28/2022
0.1.1 526 4/6/2022
0.1.0 532 4/6/2022