Commit 37ccc2bf by AlexNasyr

again

parent 3aefa05c
Showing with 1 additions and 1 deletions
......@@ -29,7 +29,7 @@ namespace DDO_Application {
services.AddSingleton<IApiService, ApiProcessingService>();
// turn enable ActiveMQ support in project
services.AddActiveMq("ddoApp-cluster", new[] { Endpoint.Create(host: "192.168.2.19", port: 5672, "guest", "guest") })
//services.AddActiveMq("ddoApp-cluster", new[] { ActiveMQ })
//services.AddActiveMq("ddoApp-cluster", new[] { ActiveMQ })
.AddAnonymousProducer<MessageProducer>()
.AddTypedConsumer<TestMessage, MessageCunsomer>(Configuration.GetSection("TestQueues").Get<configTestQueues>().In, RoutingType.Multicast);
services.AddActiveMqHostedService();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment