org.eligosource.eventsourced.patterns.reliable.requestreply

ReliableRequestReplyChannelProps

case class ReliableRequestReplyChannelProps(id: Int, destination: ActorRef, replyTimeout: FiniteDuration = ..., policy: RedeliveryPolicy = ..., name: Option[String] = scala.None, dispatcherName: Option[String] = scala.None) extends ChannelProps with Product with Serializable

Reliable request-reply channel configuration object used to configure a org.eligosource.eventsourced.core.ReliableChannel and a proxy for destination. The destination proxy together with the reliable channel mediate reliable request-reply interactions between a request sender (usually an Eventsourced processor) and the destination. The channel created by createChannel has the following properties in addition to a plain reliable channel:

replyTimeout

timeout for receiving a reply from the destination. Must be less than policy.confirmationTimeout

policy

redelivery policy for the reliable channel.

See also

org.eligosource.eventsourced.core.ReliableChannel.

Linear Supertypes
Serializable, Serializable, Product, Equals, ChannelProps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReliableRequestReplyChannelProps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ChannelProps
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReliableRequestReplyChannelProps(id: Int, destination: ActorRef, replyTimeout: FiniteDuration = ..., policy: RedeliveryPolicy = ..., name: Option[String] = scala.None, dispatcherName: Option[String] = scala.None)

    replyTimeout

    timeout for receiving a reply from the destination. Must be less than policy.confirmationTimeout

    policy

    redelivery policy for the reliable channel.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createChannel(journal: ActorRef)(implicit actorRefFactory: ActorRefFactory): ActorRef

    Creates a org.eligosource.eventsourced.core.ReliableChannel and a proxy for destination with the settings defined by this configuration object.

    Creates a org.eligosource.eventsourced.core.ReliableChannel and a proxy for destination with the settings defined by this configuration object. The destination proxy together with the reliable channel mediate reliable request-reply interactions between a request sender (usually an Eventsourced processor) and the destination.

    journal

    journal that is used by the channel.

    actorRefFactory

    org.eligosource.eventsourced.core.Channel ref factory.

    returns

    a channel ref.

    Definition Classes
    ReliableRequestReplyChannelPropsChannelProps
  9. val destination: ActorRef

    Channel destination.

    Channel destination.

    Definition Classes
    ReliableRequestReplyChannelPropsChannelProps
  10. val dispatcherName: Option[String]

    Optional dispatcher name.

    Optional dispatcher name.

    Definition Classes
    ReliableRequestReplyChannelPropsChannelProps
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. val id: Int

    Channel id.

    Channel id.

    Definition Classes
    ReliableRequestReplyChannelPropsChannelProps
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val name: Option[String]

    Optional channel name.

    Optional channel name.

    Definition Classes
    ReliableRequestReplyChannelPropsChannelProps
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val policy: RedeliveryPolicy

    redelivery policy for the reliable channel.

  21. val replyTimeout: FiniteDuration

    timeout for receiving a reply from the destination.

    timeout for receiving a reply from the destination. Must be less than policy.confirmationTimeout

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withConfirmationTimeout(confirmationTimeout: FiniteDuration): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified confirmation timeout.

  27. def withDispatcherName(dispatcherName: String): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified dispatcher name.

  28. def withName(name: String): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified name.

  29. def withRedeliveryDelay(redeliveryDelay: FiniteDuration): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified re-delivery delay.

  30. def withRedeliveryMax(redeliveryMax: Int): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified maximum number of re-delivery attempts.

  31. def withReplyTimeout(replyTimeout: FiniteDuration): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified reply timeout.

  32. def withRestartDelay(restartDelay: FiniteDuration): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified restart delay.

  33. def withRestartMax(restartMax: Int): ReliableRequestReplyChannelProps

    Returns a new ReliableRequestReplyChannelProps with the specified maximum number of restarts.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ChannelProps

Inherited from AnyRef

Inherited from Any

Ungrouped