public override void ActivateOptions() { base.ActivateOptions(); EventMessageParser = EventMessageParser ?? new SQSMessageParser(ConfigOverrides); _client = new SQSClientWrapper(EndPoint, AccessKey, Secret, ClientConfig); _eventProcessor = new SQSEventProcessor(QueueName, Message, DelaySeconds) { EventMessageParser = EventMessageParser }; if (Layout == null) { Layout = new PatternLayout("%message"); } }
protected override void ResetClient() { _client = null; }