Uses of Interface
org.apache.qpid.protonj2.client.AdvancedMessage
-
Packages that use AdvancedMessage Package Description org.apache.qpid.protonj2.client org.apache.qpid.protonj2.client.impl -
-
Uses of AdvancedMessage in org.apache.qpid.protonj2.client
Subinterfaces of AdvancedMessage in org.apache.qpid.protonj2.client Modifier and Type Interface Description interfaceStreamReceiverMessageinterfaceStreamSenderMessageStreaming 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 AdvancedMessage Modifier and Type Method Description AdvancedMessage<E>AdvancedMessage. addBodySection(Section<?> bodySection)Adds the givenSectionto the internal collection of sections that will be sent to the remote peer when this message is encoded.AdvancedMessage<E>AdvancedMessage. annotations(MessageAnnotations messageAnnotations)Assign or replace theMessageAnnotationsinstance associated with this message.AdvancedMessage<E>AdvancedMessage. applicationProperties(ApplicationProperties applicationProperties)Assign or replace theApplicationPropertiesinstance associated with this message.AdvancedMessage<E>AdvancedMessage. bodySections(java.util.Collection<Section<?>> sections)Sets the bodySectioninstances to use when encoding this message.AdvancedMessage<E>AdvancedMessage. clearBodySections()Clears all current bodySectionelements from theAdvancedMessage.static <V> AdvancedMessage<V>AdvancedMessage. create()Creates a newAdvancedMessageinstance using the library default implementation.AdvancedMessage<E>AdvancedMessage. footer(Footer footer)Assign or replace theFooterinstance associated with this message.AdvancedMessage<E>AdvancedMessage. forEachBodySection(java.util.function.Consumer<Section<?>> consumer)Performs the given action for each bodySectionof theAdvancedMessageuntil all sections have been presented to the givenConsumeror the consumer throws an exception.AdvancedMessage<E>AdvancedMessage. header(Header header)Assign or replace theHeaderinstance associated with this message.AdvancedMessage<E>AdvancedMessage. messageFormat(int messageFormat)Sets the message format to use when the message is sent.AdvancedMessage<E>AdvancedMessage. properties(Properties properties)Assign or replace thePropertiesinstance associated with this message.default AdvancedMessage<E>Message. toAdvancedMessage()Safely convert thisMessageinstance into anAdvancedMessagereference which can offer more low level APIs to an experienced client user. -
Uses of AdvancedMessage in org.apache.qpid.protonj2.client.impl
Classes in org.apache.qpid.protonj2.client.impl that implement AdvancedMessage 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 AdvancedMessage 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.AdvancedMessage<E>ClientMessage. toAdvancedMessage()Methods in org.apache.qpid.protonj2.client.impl with parameters of type AdvancedMessage Modifier and Type Method Description static ProtonBufferClientMessageSupport. encodeMessage(AdvancedMessage<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)static ProtonBufferClientMessageSupport. encodeMessage(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)static ProtonBufferClientMessageSupport. encodeMessage(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, java.util.Map<java.lang.String,java.lang.Object> deliveryAnnotations)
-