case class TheSQSRestServerBuilder(providedActorSystem: Option[ActorSystem], providedQueueManagerActor: Option[ActorRef], interface: String, port: Int, serverAddress: NodeAddress, generateServerAddress: Boolean, sqsLimits: Limits, _awsRegion: String, _awsAccountId: String) extends Logging with Product with Serializable
- Alphabetic
- By Inheritance
- TheSQSRestServerBuilder
- Serializable
- Serializable
- Product
- Equals
- Logging
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _awsAccountId: String
- val _awsRegion: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val generateServerAddress: Boolean
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val interface: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val port: Int
- val providedActorSystem: Option[ActorSystem]
- val providedQueueManagerActor: Option[ActorRef]
- val serverAddress: NodeAddress
- val sqsLimits: Limits
- def start(): SQSRestServer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAWSAccountId(accountId: String): TheSQSRestServerBuilder
- accountId
AccountId which will be included in ARM resource ids.
-
def
withAWSRegion(region: String): TheSQSRestServerBuilder
- region
Region which will be included in ARM resource ids.
-
def
withActorSystem(_actorSystem: ActorSystem): TheSQSRestServerBuilder
- _actorSystem
Optional actor system. If one is provided, it will be used to create ElasticMQ and Spray actors, but its lifecycle (shutdown) will be not managed by the server. If one is not provided, an actor system will be created, and its lifecycle will be bound to the server's lifecycle.
-
def
withDynamicPort(): TheSQSRestServerBuilder
Will assign port automatically (uses port 0).
Will assign port automatically (uses port 0). The port to which the socket binds will be logged on successful startup.
-
def
withInterface(_interface: String): TheSQSRestServerBuilder
- _interface
Hostname to which the server will bind.
-
def
withPort(_port: Int): TheSQSRestServerBuilder
- _port
Port to which the server will bind.
-
def
withQueueManagerActor(_queueManagerActor: ActorRef): TheSQSRestServerBuilder
- _queueManagerActor
Optional "main" ElasticMQ actor.
-
def
withSQSLimits(_sqsLimits: Limits): TheSQSRestServerBuilder
- _sqsLimits
Should "real" SQS limits be used (strict), or should they be relaxed where possible (regarding e.g. message size).
-
def
withServerAddress(_serverAddress: NodeAddress): TheSQSRestServerBuilder
- _serverAddress
Address which will be returned as the queue address. Requests to this address should be routed to this server.