You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
435 B
20 lines
435 B
package com.xsn.explorer.modules
|
|
|
|
import javax.inject.Singleton
|
|
|
|
import com.amazonaws.services.sqs.{AmazonSQSAsync, AmazonSQSAsyncClientBuilder}
|
|
import com.google.inject.{AbstractModule, Provides}
|
|
|
|
class AmazonSQSAsyncModule extends AbstractModule {
|
|
|
|
override def configure(): Unit = {
|
|
}
|
|
|
|
@Provides
|
|
@Singleton
|
|
def createSQSClient: AmazonSQSAsync = {
|
|
AmazonSQSAsyncClientBuilder
|
|
.standard()
|
|
.build()
|
|
}
|
|
}
|
|
|