Untitled

 avatar
unknown
scala
2 years ago
207 B
5
Indexable
implicit def sqsClient: AmazonSQSAsync = ???

def randomQueueUrl(): String = sqsClient.createQueue(s"queue-${Random.nextInt}").getQueueUrl

val queue = randomQueueUrl()
sqsClient.sendMessage(queue, "gdpr")

Editor is loading...