Monai.Deploy.Messaging 2.0.2

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.2
NuGet\Install-Package Monai.Deploy.Messaging -Version 2.0.2
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.2" />
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.2
#r "nuget: Monai.Deploy.Messaging, 2.0.2"
#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.2

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

<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 77 2/9/2024
3.0.0-rc0058 69 2/8/2024
2.0.2 897 2/9/2024
2.0.0 626 1/5/2024
2.0.0-rc0003 126 1/4/2024
2.0.0-rc0002 86 1/4/2024
2.0.0-rc0001 115 1/2/2024
1.0.6 477 12/14/2023
1.0.6-rc0004 105 12/14/2023
1.0.5 586 11/23/2023
1.0.5-rc0008 98 11/23/2023
1.0.5-rc0006 374 11/9/2023
1.0.4 619 10/24/2023
1.0.4-rc0006 115 10/24/2023
1.0.4-rc0004 143 10/23/2023
1.0.4-rc0002 99 10/23/2023
1.0.4-rc0000 102 10/23/2023
1.0.3 390 10/13/2023
1.0.3-rc0012 105 10/13/2023
1.0.2 124 10/11/2023
1.0.2-rc0031 97 10/11/2023
1.0.2-rc0029 112 10/11/2023
1.0.2-rc0012 98 10/11/2023
1.0.1 969 9/12/2023
1.0.0 463 8/24/2023
1.0.0-rc0007 116 8/24/2023
1.0.0-rc0000 96 8/24/2023
0.3.0-rc0015 111 8/24/2023
0.3.0-rc0009 112 8/24/2023
0.3.0-rc0008 133 8/24/2023
0.3.0-rc0007 120 8/24/2023
0.2.1-rc0001 125 8/24/2023
0.2.0 147 8/22/2023
0.2.0-rc0001 117 8/22/2023
0.1.25 393 8/16/2023
0.1.24 368 8/7/2023
0.1.23 1,099 5/17/2023
0.1.22 3,139 3/15/2023
0.1.21 635 3/9/2023
0.1.20 448 3/8/2023
0.1.19 2,289 12/14/2022
0.1.18 487 11/30/2022
0.1.16 576 11/16/2022
0.1.15 964 11/14/2022
0.1.14 654 11/10/2022
0.1.11 740 11/9/2022
0.1.10 574 11/7/2022
0.1.9 1,114 11/2/2022
0.1.8 2,884 10/11/2022
0.1.7 639 10/10/2022
0.1.6 785 10/3/2022
0.1.5 1,224 9/20/2022
0.1.4 1,653 8/31/2022
0.1.3 1,111 8/18/2022
0.1.2 1,242 6/28/2022
0.1.1 487 4/6/2022
0.1.0 496 4/6/2022