added config to support dead letter queueing and retries