Uses of Interface
org.apache.qpid.protonj2.client.Message
-
Packages that use Message Package Description org.apache.qpid.protonj2.client org.apache.qpid.protonj2.client.impl -
-
Uses of Message in org.apache.qpid.protonj2.client
Subinterfaces of Message in org.apache.qpid.protonj2.client Modifier and Type Interface Description interfaceAdvancedMessage<E>Advanced AMQP Message object that provides a thin abstraction to raw AMQP typesinterfaceStreamReceiverMessageinterfaceStreamSenderMessageStreaming Message Tracker object used to operate on and track the state of a streamed message at the remote.Methods in org.apache.qpid.protonj2.client that return Message Modifier and Type Method Description Message<E>Message. absoluteExpiryTime(long expiryTime)Sets the absolute expiration time value to assign to thisMessage.Message<E>Message. annotation(java.lang.String key, java.lang.Object value)Sets the given message annotation value at the given key, replacing any previous value that was assigned to thisMessage.Message<E>Message. body(E value)Sets the body value that is to be conveyed to the remote when this message is sent.Message<?>Message. contentEncoding(java.lang.String contentEncoding)Sets the contentEncoding value to assign to thisMessage.Message<E>Message. contentType(java.lang.String contentType)Sets the contentType value to assign to thisMessage.Message<E>Message. correlationId(java.lang.Object correlationId)Sets the correlationId value to assign to thisMessage.static <E> Message<E>Message. create()static Message<byte[]>Message. create(byte[] body)static <E> Message<E>Message. create(E body)static <E> Message<java.util.List<E>>Message. create(java.util.List<E> body)static <K,V>
Message<java.util.Map<K,V>>Message. create(java.util.Map<K,V> body)Message<E>Message. creationTime(long createTime)Sets the creation time value to assign to thisMessage.Message<E>Message. deliveryCount(long deliveryCount)Sets the value to assign to the delivery count field of thisMessage.Message<E>Message. durable(boolean durable)Controls if the message is marked as durable when sent.Message<E>Message. firstAcquirer(boolean firstAcquirer)Sets the value to assign to the first acquirer field of thisMessage.Message<E>Message. footer(java.lang.String key, java.lang.Object value)Sets the given footer value at the given key, replacing any previous value that was assigned to thisMessage.Message<E>Message. forEachAnnotation(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Invokes the givenBiConsumeron each message annotation entry carried in thisMessage.Message<E>Message. forEachFooter(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Invokes the givenBiConsumeron each footer entry carried in thisMessage.Message<E>Message. forEachProperty(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Invokes the givenBiConsumeron each application property entry carried in thisMessage.Message<E>Message. groupId(java.lang.String groupId)Sets the groupId value to assign to thisMessage.Message<E>Message. groupSequence(int groupSequence)Sets the group sequence value to assign to thisMessage.<E> Message<E>Delivery. message()Message<E>Message. messageId(java.lang.Object messageId)Sets the message Id value to assign to thisMessage.Message<E>Message. priority(byte priority)Sets the relative message priority.Message<E>Message. property(java.lang.String key, java.lang.Object value)Sets the given application property value at the given key, replacing any previous value that was assigned to thisMessage.Message<E>Message. replyTo(java.lang.String replyTo)Sets the replyTo value to assign to thisMessage.Message<E>Message. replyToGroupId(java.lang.String replyToGroupId)Sets the replyTo group Id value to assign to thisMessage.Message<E>Message. subject(java.lang.String subject)Sets the subject value to assign to thisMessage.Message<E>Message. timeToLive(long timeToLive)Sets the message time to live value.Message<E>Message. to(java.lang.String to)Sets the 'to' value to assign to thisMessage.Message<E>Message. userId(byte[] userId)Sets the user Id value to assign to thisMessage.Methods in org.apache.qpid.protonj2.client with parameters of type Message Modifier and Type Method Description TrackerConnection. send(Message<?> message)Sends the givenMessageusing the internal connection sender.TrackerSender. send(Message<?> message)Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit.TrackerSender. send(Message<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)Send the given message immediately if there is credit available or blocks if the link has not yet been granted credit.TrackerSender. trySend(Message<?> message)Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt.TrackerSender. trySend(Message<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)Send the given message if credit is available or returns null if no credit has been granted to the link at the time of the send attempt. -
Uses of Message in org.apache.qpid.protonj2.client.impl
Classes in org.apache.qpid.protonj2.client.impl that implement Message Modifier and Type Class Description classClientMessage<E>Client providedAdvancedMessageimplementation that is used when sending messages from aClientSenderor when decoding an AMQP Transfer for which all frames have arrived.classClientStreamReceiverMessageStreamed message delivery context used to request reads of possible split framedTransferpayload's that comprise a single large overall message.Methods in org.apache.qpid.protonj2.client.impl that return Message Modifier and Type Method Description Message<E>ClientMessage. absoluteExpiryTime(long expiryTime)Message<E>ClientMessage. contentEncoding(java.lang.String contentEncoding)Message<?>ClientStreamReceiverMessage. contentEncoding(java.lang.String contentEncoding)Message<E>ClientMessage. contentType(java.lang.String contentType)Message<E>ClientMessage. correlationId(java.lang.Object correlationId)Message<E>ClientMessage. creationTime(long createTime)static Message<?>ClientMessageSupport. decodeMessage(ProtonBuffer buffer, java.util.function.Consumer<DeliveryAnnotations> daConsumer)static Message<?>ClientMessageSupport. decodeMessage(Decoder decoder, ProtonBuffer buffer, java.util.function.Consumer<DeliveryAnnotations> daConsumer)static Message<?>ClientMessageSupport. decodeMessage(Decoder decoder, DecoderState decoderState, ProtonBuffer buffer, java.util.function.Consumer<DeliveryAnnotations> daConsumer)Message<E>ClientMessage. forEachAnnotation(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Message<E>ClientMessage. forEachFooter(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Message<E>ClientMessage. forEachProperty(java.util.function.BiConsumer<java.lang.String,java.lang.Object> action)Message<E>ClientMessage. groupId(java.lang.String groupId)Message<E>ClientMessage. groupSequence(int groupSequence)<E> Message<E>ClientDelivery. message()Message<E>ClientMessage. messageId(java.lang.Object messageId)Message<E>ClientMessage. replyTo(java.lang.String replyTo)Message<E>ClientMessage. replyToGroupId(java.lang.String replyToGroupId)Message<E>ClientMessage. subject(java.lang.String subject)Message<E>ClientMessage. to(java.lang.String to)Message<E>ClientMessage. userId(byte[] userId)Methods in org.apache.qpid.protonj2.client.impl with parameters of type Message Modifier and Type Method Description static <E> AdvancedMessage<E>ClientMessageSupport. convertMessage(Message<E> message)Converts aMessageinstance into aClientMessageinstance either by cast or by construction of a new instance with a copy of the values carried in the given message.TrackerClientConnection. send(Message<?> message)StreamTrackerClientStreamSender. send(Message<?> message)StreamTrackerClientStreamSender. send(Message<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)StreamTrackerClientStreamSender. trySend(Message<?> message)StreamTrackerClientStreamSender. trySend(Message<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)
-