Add deployment
This commit is contained in:
@@ -18,13 +18,7 @@ public sealed class LocalPagingPublisher
|
||||
{
|
||||
try
|
||||
{
|
||||
var factory = new ConnectionFactory
|
||||
{
|
||||
HostName = _opts.Host,
|
||||
Port = _opts.Port,
|
||||
UserName = _opts.Username,
|
||||
Password = _opts.Password
|
||||
};
|
||||
var factory = RabbitMqConnectionFactory.Create(_opts);
|
||||
using var conn = factory.CreateConnection("gateway-publisher");
|
||||
using var channel = conn.CreateModel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user