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.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
AmqpMessageBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmqpMessageBuilder(io.vertx.amqp.AmqpMessageBuilder delegate) Create a new instance ofAmqpMessageBuilderdelegating to the given (non-null) instance ofAmqpMessageBuilder.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.AmqpMessageBuilderGet the delegate instance.inthashCode()static AmqpMessageBuildernewInstance(io.vertx.amqp.AmqpMessageBuilder delegate) Creates a new instance of theAmqpMessageBuilder.priority(short priority) replyToGroupId(String rt) toString()ttl(long ttl) withBooleanAsBody(boolean v) withBufferAsBody(io.vertx.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) Create a new instance ofAmqpMessageBuilderdelegating to the given (non-null) instance ofAmqpMessageBuilder. -
AmqpMessageBuilder
-
-
Method Details
-
getDelegate
public io.vertx.amqp.AmqpMessageBuilder getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
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
-
withInstantAsBody
-
withUuidAsBody
-
withBufferAsBody
-
withJsonObjectAsBody
-
withJsonArrayAsBody
-
newInstance
Creates a new instance of theAmqpMessageBuilder. -
hashCode
public int hashCode() -
equals
-
toString
-