TheSQSRestServerBuilder

org.elasticmq.rest.sqs.TheSQSRestServerBuilder
case class TheSQSRestServerBuilder(providedActorSystem: Option[ActorSystem], providedQueueManagerActor: Option[ActorRef], interface: String, port: Int, serverAddress: NodeAddress, generateServerAddress: Boolean, sqsLimits: Limits, _awsRegion: String, _awsAccountId: String, queueEventListener: Option[ActorRef]) extends Logging

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Logging
trait LazyLogging
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def withAWSAccountId(accountId: String): TheSQSRestServerBuilder

Value parameters

accountId

AccountId which will be included in ARM resource ids.

Attributes

def withAWSRegion(region: String): TheSQSRestServerBuilder

Value parameters

region

Region which will be included in ARM resource ids.

Attributes

def withActorSystem(_actorSystem: ActorSystem): TheSQSRestServerBuilder

Value parameters

_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.

Attributes

Will assign port automatically (uses port 0). The port to which the socket binds will be logged on successful startup.

Will assign port automatically (uses port 0). The port to which the socket binds will be logged on successful startup.

Attributes

def withInterface(_interface: String): TheSQSRestServerBuilder

Value parameters

_interface

Hostname to which the server will bind.

Attributes

Value parameters

_port

Port to which the server will bind.

Attributes

def withQueueEventListener(_queueEventListener: ActorRef): TheSQSRestServerBuilder

Value parameters

_queueEventListener

Optional listener of changes in queues and messages

Attributes

def withQueueManagerActor(_queueManagerActor: ActorRef): TheSQSRestServerBuilder

Value parameters

_queueManagerActor

Optional "main" ElasticMQ actor.

Attributes

def withSQSLimits(_sqsLimits: Limits): TheSQSRestServerBuilder

Value parameters

_sqsLimits

Should "real" SQS limits be used (strict), or should they be relaxed where possible (regarding e.g. message size).

Attributes

def withServerAddress(_serverAddress: NodeAddress): TheSQSRestServerBuilder

Value parameters

_serverAddress

Address which will be returned as the queue address. Requests to this address should be routed to this server.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging