class DeliveryOptions extends AnyRef
Delivery options are used to configure message delivery.
Delivery options allow to configure delivery timeout and message codec name, and to provide any headers that you wish to send with the message.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeliveryOptions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DeliveryOptions(_asJava: core.eventbus.DeliveryOptions)
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
-
def
addHeader(key: String, value: String): DeliveryOptions
Add a message header.
Add a message header.
Message headers can be sent with any message and will be accessible with io.vertx.scala.core.eventbus.Message at the recipient.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: core.eventbus.DeliveryOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCodecName: String
- def getSendTimeout: Long
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLocalOnly: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setCodecName(value: String): DeliveryOptions
Set the codec name.
-
def
setLocalOnly(value: Boolean): DeliveryOptions
Whether a message should be delivered to local consumers only.
Whether a message should be delivered to local consumers only. Defaults to
false
.This option is effective in clustered mode only and does not apply to reply messages.
-
def
setSendTimeout(value: Long): DeliveryOptions
Set the send timeout.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )