Class AmqpMessageBuilder
java.lang.Object
io.vertx.reactivex.amqp.AmqpMessageBuilder
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
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 RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmqpMessageBuilder(AmqpMessageBuilder delegate) AmqpMessageBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionapplicationProperties(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) inthashCode()static AmqpMessageBuilderpriority(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(JsonArray json) withLongAsBody(long v) withShortAsBody(short v) withSymbolAsBody(String value)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
AmqpMessageBuilder
-
AmqpMessageBuilder
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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
-