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.
21 lines
435 B
21 lines
435 B
7 years ago
|
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()
|
||
|
}
|
||
|
}
|