case class Exchange(name: String) extends Product with Serializable
Describes an exchange which should already exist, an error will be thrown on use if it does not
It is recommended to use ChannelOwner.declareExchange or ChannelOwner.declareExchangePassive to create this as they ensures the exchange exists.
- Alphabetic
- By Inheritance
- Exchange
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Exchange(name: String)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
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
route(routingKey: String, mandatory: Boolean, immediate: Boolean, deliveryMode: Option[DeliveryMode]): RoutingDescriptor
Specifies routing and send parameters
Specifies routing and send parameters
- routingKey
the exchange uses this to decide which queue(s) the message is to be added to
- mandatory
a message with this flag will be returned by the exchange if it finds that no queues match the routingKey
- immediate
a message with this flag will only be delivered if a matching queue has a ready consumer, if not it is returned
- deliveryMode
defines whether a message should be persisted if the queue it is on is persisted
-
def
route(routingKey: String): RoutingDescriptor
Specifies routing parameters
Specifies routing parameters
- routingKey
the exchange uses this to decide which queue(s) the message is to be added to
-
def
route(routingKey: String, mandatory: Boolean, immediate: Boolean): RoutingDescriptor
Specifies routing and send parameters
Specifies routing and send parameters
- routingKey
the exchange uses this to decide which queue(s) the message is to be added to
- mandatory
a message with this flag will be returned by the exchange if it finds that no queues match the routingKey
- immediate
a message with this flag will only be delivered if a matching queue has a ready consumer, if not it is returned
- def route(routingKey: String, deliveryMode: DeliveryMode, mandatory: Boolean = false, immediate: Boolean = false): RoutingDescriptor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )