Package io.vertx.mutiny.amqp
Class AmqpMessageBuilder
- java.lang.Object
-
- io.vertx.mutiny.amqp.AmqpMessageBuilder
-
public class AmqpMessageBuilder extends Object
Builder to create a newAmqpMessage
.Reference about the different metadata can be found on AMQP message properties.
Note that the body is set using
NOTE: This class has been automatically generated from thewithBodyAs*
method depending on the passed type.original
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<AmqpMessageBuilder>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description AmqpMessageBuilder(io.vertx.amqp.AmqpMessageBuilder delegate)
AmqpMessageBuilder(Object delegate)
-
Method Summary
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<AmqpMessageBuilder> __TYPE_ARG
-
-
Constructor Detail
-
AmqpMessageBuilder
public AmqpMessageBuilder(io.vertx.amqp.AmqpMessageBuilder delegate)
-
AmqpMessageBuilder
public AmqpMessageBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.amqp.AmqpMessageBuilder getDelegate()
-
create
public static AmqpMessageBuilder create()
- Returns:
- a new instance of
AmqpMessageBuilder
-
build
public AmqpMessage build()
- Returns:
- the message.
-
priority
public AmqpMessageBuilder priority(short priority)
-
durable
public AmqpMessageBuilder durable(boolean durable)
-
ttl
public AmqpMessageBuilder ttl(long ttl)
-
firstAcquirer
public AmqpMessageBuilder firstAcquirer(boolean first)
-
deliveryCount
public AmqpMessageBuilder deliveryCount(int count)
-
id
public AmqpMessageBuilder id(String id)
-
address
public AmqpMessageBuilder address(String address)
-
replyTo
public AmqpMessageBuilder replyTo(String replyTo)
-
correlationId
public AmqpMessageBuilder correlationId(String correlationId)
-
withBody
public AmqpMessageBuilder withBody(String value)
-
withSymbolAsBody
public AmqpMessageBuilder withSymbolAsBody(String value)
-
subject
public AmqpMessageBuilder subject(String subject)
-
contentType
public AmqpMessageBuilder contentType(String ct)
-
contentEncoding
public AmqpMessageBuilder contentEncoding(String ct)
-
expiryTime
public AmqpMessageBuilder expiryTime(long expiry)
-
creationTime
public AmqpMessageBuilder creationTime(long ct)
-
groupId
public AmqpMessageBuilder groupId(String gi)
-
replyToGroupId
public AmqpMessageBuilder replyToGroupId(String rt)
-
applicationProperties
public AmqpMessageBuilder applicationProperties(io.vertx.core.json.JsonObject props)
-
withBooleanAsBody
public AmqpMessageBuilder withBooleanAsBody(boolean v)
-
withByteAsBody
public AmqpMessageBuilder withByteAsBody(byte v)
-
withShortAsBody
public AmqpMessageBuilder withShortAsBody(short v)
-
withIntegerAsBody
public AmqpMessageBuilder withIntegerAsBody(int v)
-
withLongAsBody
public AmqpMessageBuilder withLongAsBody(long v)
-
withFloatAsBody
public AmqpMessageBuilder withFloatAsBody(float v)
-
withDoubleAsBody
public AmqpMessageBuilder withDoubleAsBody(double v)
-
withCharAsBody
public AmqpMessageBuilder withCharAsBody(char c)
-
withBufferAsBody
public AmqpMessageBuilder withBufferAsBody(Buffer buffer)
-
withJsonObjectAsBody
public AmqpMessageBuilder withJsonObjectAsBody(io.vertx.core.json.JsonObject json)
-
withJsonArrayAsBody
public AmqpMessageBuilder withJsonArrayAsBody(io.vertx.core.json.JsonArray json)
-
withInstantAsBody
public AmqpMessageBuilder withInstantAsBody(Instant v)
-
withUuidAsBody
public AmqpMessageBuilder withUuidAsBody(UUID v)
-
newInstance
public static AmqpMessageBuilder newInstance(io.vertx.amqp.AmqpMessageBuilder arg)
-
-