Package io.vertx.mutiny.amqp
Class AmqpMessageBuilder
java.lang.Object
io.vertx.mutiny.amqp.AmqpMessageBuilder
- All Implemented Interfaces:
MutinyDelegate
Builder to create a new
AmqpMessage
.
Reference about the different metadata can be found on AMQP message properties.
Note that the body is set using withBodyAs*
method depending on the passed type.
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmqpMessageBuilder
(io.vertx.amqp.AmqpMessageBuilder delegate) AmqpMessageBuilder
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionapplicationProperties
(io.vertx.core.json.JsonObject props) build()
contentType
(String ct) correlationId
(String correlationId) static AmqpMessageBuilder
create()
creationTime
(long ct) deliveryCount
(int count) durable
(boolean durable) boolean
expiryTime
(long expiry) firstAcquirer
(boolean first) io.vertx.amqp.AmqpMessageBuilder
int
hashCode()
static AmqpMessageBuilder
newInstance
(io.vertx.amqp.AmqpMessageBuilder arg) priority
(short priority) replyToGroupId
(String rt) toString()
ttl
(long ttl) withBooleanAsBody
(boolean v) withBufferAsBody
(Buffer buffer) withByteAsBody
(byte v) withCharAsBody
(char c) withDoubleAsBody
(double v) withFloatAsBody
(float v) withIntegerAsBody
(int v) withJsonArrayAsBody
(io.vertx.core.json.JsonArray json) withJsonObjectAsBody
(io.vertx.core.json.JsonObject json) withLongAsBody
(long v) withShortAsBody
(short v) withSymbolAsBody
(String value)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
AmqpMessageBuilder
public AmqpMessageBuilder(io.vertx.amqp.AmqpMessageBuilder delegate) -
AmqpMessageBuilder
-
-
Method Details
-
getDelegate
public io.vertx.amqp.AmqpMessageBuilder getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
create
- Returns:
- a new instance of
AmqpMessageBuilder
-
build
- Returns:
- the message.
-
priority
-
durable
-
ttl
-
firstAcquirer
-
deliveryCount
-
id
-
address
-
replyTo
-
correlationId
-
withBody
-
withSymbolAsBody
-
subject
-
contentType
-
contentEncoding
-
expiryTime
-
creationTime
-
groupId
-
replyToGroupId
-
applicationProperties
-
withBooleanAsBody
-
withByteAsBody
-
withShortAsBody
-
withIntegerAsBody
-
withLongAsBody
-
withFloatAsBody
-
withDoubleAsBody
-
withCharAsBody
-
withBufferAsBody
-
withJsonObjectAsBody
-
withJsonArrayAsBody
-
withInstantAsBody
-
withUuidAsBody
-
newInstance
-