Havret / dotnet-activemq-artemis-client

.NET Client for Apache ActiveMQ Artemis
https://havret.github.io/dotnet-activemq-artemis-client/
MIT License
64 stars 11 forks source link

Add option to configure topology for DI extensions package #399

Closed Havret closed 1 year ago

Havret commented 2 years ago

Discussed in https://github.com/Havret/dotnet-activemq-artemis-client/discussions/398

Originally posted by **pgarbo** November 18, 2022 Hi, I am using ArtemisNetClient.Extensions.DependencyInjection in ASP.NET Core application and I need to call ITopologyManager.DeclareQueueAsync before sending any message (to ensure last-value queue is created). How can I get access to the topology manager using DI or IActiveMqBuilder and where is the best way to call it? thanks, Pawel