From c1fc0a1877625415efb1ba82bf83bc6a57a09bee Mon Sep 17 00:00:00 2001 From: Vladimir Orany Date: Mon, 30 Aug 2021 09:04:26 +0200 Subject: [PATCH] Fixed #121 - Updated documentation for multiple SQS services --- grails-aws-sdk-sqs/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grails-aws-sdk-sqs/README.md b/grails-aws-sdk-sqs/README.md index febc04f..54041de 100644 --- a/grails-aws-sdk-sqs/README.md +++ b/grails-aws-sdk-sqs/README.md @@ -121,10 +121,10 @@ class MyQueueService extends AmazonSQSService { static final QUEUE_NAME = 'my-queue' - @PostConstruct - def init() { - init(QUEUE_NAME) - } + void afterPropertiesSet() { + super.afterPropertiesSet() + init(QUEUE_NAME) + } } ```