TransactionalMessagingChannel
Attributes
- Source:
- MessagingAPI.scala
- Graph
- Supertypes
- trait TransactionalMessaging[F]trait NormalMessagingChannel[F]trait Publishing[F]trait Consuming[F]trait MessagingChannelclass Objecttrait Matchableclass Any
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Consumes and decodes messages
Consumes and decodes messages
Note that you MUST acknowledge (ack, reject, nack) messages if you select any ConsumeMode but ConsumeMode.RaiseOnError(false)
Attributes
- arguments
extra params
- exclusive
request exclusive consumer right
- mode
what to do when a message cannot be decoded
- noLocal
don't consume messages published on this connection
- queue
QueueName to consume from
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Consumes raw messages
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Creates a message with given payload, encodes it and then publishes it as not mandatory
Creates a message with given payload, encodes it and then publishes it as not mandatory
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Encodes and publishes a message that is not mandatory
Encodes and publishes a message that is not mandatory
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Encodes and publishes an envelope, this is a low level operation and is exposed only for special circumstances, always prefer to use other higher level publish methods
Encodes and publishes an envelope, this is a low level operation and is exposed only for special circumstances, always prefer to use other higher level publish methods
Note that if a mandatory message fails in routing, it is returned to the client and you MUST also consume returned if you publish mandatory messages
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Publishes raw message that is not mandatory This is useful if you have handled encoding and want to publish a raw message directly
Publishes raw message that is not mandatory This is useful if you have handled encoding and want to publish a raw message directly
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Publishes raw envelope, this is a low level operation and is exposed only for special circumstances, always prefer to use other higher level publish methods
Publishes raw envelope, this is a low level operation and is exposed only for special circumstances, always prefer to use other higher level publish methods
Note that if a mandatory message fails in routing, it is returned to the client and you MUST also consume returned if you publish mandatory messages
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
A pipe that encodes and publishes Envelopes that may or may not be mandatory, And ReturnedMessageRaw for returned messages.
A pipe that encodes and publishes Envelopes that may or may not be mandatory, And ReturnedMessageRaw for returned messages.
Note that this pipe SHOULD be used exclusively, as it is draining from the returned messages that is backed by a queue.
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
A pipe that publishes Envelopes that may or may not be mandatory, And ReturnedMessageRaw for returned messages.
A pipe that publishes Envelopes that may or may not be mandatory, And ReturnedMessageRaw for returned messages.
Note that this pipe SHOULD be used exclusively, as it is draining from the returned messages that is backed by a queue.
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
Attributes
- Inherited from:
- Consuming
- Source:
- MessagingAPI.scala
consumes returned messages from the server, this should be used exclusively, or otherwise different instances compete over received values, and each get different set of values.
consumes returned messages from the server, this should be used exclusively, or otherwise different instances compete over received values, and each get different set of values.
Also note that this is a low level operation that is exposed for special circumstances, always prefer to use publisher pipe instead, unless necessary
Attributes
- Inherited from:
- Publishing
- Source:
- MessagingAPI.scala
Starts an scope that will commit on success, and rollback otherwise
Starts an scope that will commit on success, and rollback otherwise
Attributes
- Inherited from:
- TransactionalMessaging
- Source:
- MessagingAPI.scala