Package io.vertx.reactivex.amqp
Class AmqpMessageBuilder
- java.lang.Object
-
- io.vertx.reactivex.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
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 Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<AmqpMessageBuilder>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description AmqpMessageBuilder(AmqpMessageBuilder delegate)
AmqpMessageBuilder(Object delegate)
-
Method Summary
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<AmqpMessageBuilder> __TYPE_ARG
-
-
Constructor Detail
-
AmqpMessageBuilder
public AmqpMessageBuilder(AmqpMessageBuilder delegate)
-
AmqpMessageBuilder
public AmqpMessageBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public 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(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(JsonObject json)
-
withJsonArrayAsBody
public AmqpMessageBuilder withJsonArrayAsBody(JsonArray json)
-
withInstantAsBody
public AmqpMessageBuilder withInstantAsBody(java.time.Instant v)
-
withUuidAsBody
public AmqpMessageBuilder withUuidAsBody(UUID v)
-
newInstance
public static AmqpMessageBuilder newInstance(AmqpMessageBuilder arg)
-
-