public override async ValueTask <ConnectionStatusIntegrationEventReply> HandleRpcAsync(ConnectionStatusIntegrationEvent @event, CancellationToken cancellationToken = default)
        {
            var connectionRead  = _biz.GetConnectionReadStatus(@event.GroupName, @event.ConnectionName);
            var connectionWrite = _biz.GetConnectionWriteStatus(@event.GroupName, @event.ConnectionName);

            return(new ConnectionStatusIntegrationEventReply(@event.ReplyRoutingKey, @event.GroupName, @event.ConnectionName, connectionRead, connectionWrite));
        }
        public override async ValueTask <ConnectionStatusIntegrationEventReply> HandleRpcAsync(ConnectionStatusIntegrationEvent @event, CancellationToken cancellationToken = default)
        {
            var connectionRead  = false;
            var connectionWrite = false;

            try
            {
                connectionRead  = _biz.GetConnectionReadStatus(@event.GroupName, @event.ConnectionName);
                connectionWrite = _biz.GetConnectionWriteStatus(@event.GroupName, @event.ConnectionName);
            }catch (Exception ex)
            {
                Logger.LogError("ConnectionStatusRpcHandler: " + ex.Message + " - " + ex.StackTrace);
            }

            return(new ConnectionStatusIntegrationEventReply(@event.GroupName + ".automation.connection", @event.GroupName, @event.ConnectionName, connectionRead, connectionWrite));
        }