java.lang.Object
io.vertx.mutiny.amqp.AmqpMessageBuilder
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
FieldsModifier and TypeFieldDescriptionstatic final io.smallrye.mutiny.vertx.TypeArg<AmqpMessageBuilder> -
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 AmqpMessageBuildercreate()creationTime(long ct) deliveryCount(int count) durable(boolean durable) booleanexpiryTime(long expiry) firstAcquirer(boolean first) io.vertx.amqp.AmqpMessageBuilderinthashCode()static AmqpMessageBuildernewInstance(io.vertx.amqp.AmqpMessageBuilder arg) priority(short priority) replyToGroupId(String rt) toString()ttl(long ttl) withBooleanAsBody(boolean v) withBufferAsBody(io.vertx.mutiny.core.buffer.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() -
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
-