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. 
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 80 2/9/2024
3.0.0-rc0058 72 2/8/2024
2.0.3 207 6/12/2024
2.0.3-rc0054 57 6/12/2024
2.0.3-rc0001 58 6/12/2024
2.0.2 1,652 2/9/2024
2.0.0 633 1/5/2024
2.0.0-rc0003 128 1/4/2024
2.0.0-rc0002 87 1/4/2024
2.0.0-rc0001 116 1/2/2024
1.0.6 482 12/14/2023
1.0.6-rc0004 107 12/14/2023
1.0.5 590 11/23/2023
1.0.5-rc0008 100 11/23/2023
1.0.5-rc0006 375 11/9/2023
1.0.4 622 10/24/2023
1.0.4-rc0006 117 10/24/2023
1.0.4-rc0004 144 10/23/2023
1.0.4-rc0002 100 10/23/2023
1.0.4-rc0000 103 10/23/2023
1.0.3 392 10/13/2023
1.0.3-rc0012 106 10/13/2023
1.0.2 126 10/11/2023
1.0.2-rc0031 98 10/11/2023
1.0.2-rc0029 113 10/11/2023
1.0.2-rc0012 99 10/11/2023
1.0.1 974 9/12/2023
1.0.0 466 8/24/2023
1.0.0-rc0007 118 8/24/2023
1.0.0-rc0000 97 8/24/2023
0.3.0-rc0015 113 8/24/2023
0.3.0-rc0009 113 8/24/2023
0.3.0-rc0008 134 8/24/2023
0.3.0-rc0007 121 8/24/2023
0.2.1-rc0001 127 8/24/2023
0.2.0 150 8/22/2023
0.2.0-rc0001 118 8/22/2023
0.1.25 396 8/16/2023
0.1.24 370 8/7/2023
0.1.23 1,102 5/17/2023
0.1.22 3,146 3/15/2023
0.1.21 637 3/9/2023
0.1.20 450 3/8/2023
0.1.19 2,294 12/14/2022
0.1.18 490 11/30/2022
0.1.16 578 11/16/2022
0.1.15 966 11/14/2022
0.1.14 656 11/10/2022
0.1.11 742 11/9/2022
0.1.10 576 11/7/2022
0.1.9 1,116 11/2/2022
0.1.8 2,891 10/11/2022
0.1.7 641 10/10/2022
0.1.6 789 10/3/2022
0.1.5 1,227 9/20/2022
0.1.4 1,658 8/31/2022
0.1.3 1,113 8/18/2022
0.1.2 1,245 6/28/2022
0.1.1 490 4/6/2022
0.1.0 498 4/6/2022