Uses of Interface
org.apache.qpid.protonj2.client.AdvancedMessage
Packages that use AdvancedMessage
-
Uses of AdvancedMessage in org.apache.qpid.protonj2.client
Subinterfaces of AdvancedMessage in org.apache.qpid.protonj2.clientModifier and TypeInterfaceDescriptioninterfaceinterfaceStreaming 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 AdvancedMessageModifier and TypeMethodDescriptionAdvancedMessage.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.annotations(MessageAnnotations messageAnnotations) Assign or replace theMessageAnnotationsinstance associated with this message.AdvancedMessage.applicationProperties(ApplicationProperties applicationProperties) Assign or replace theApplicationPropertiesinstance associated with this message.AdvancedMessage.bodySections(Collection<Section<?>> sections) Sets the bodySectioninstances to use when encoding this message.AdvancedMessage.clearBodySections()Clears all current bodySectionelements from theAdvancedMessage.static <V> AdvancedMessage<V>AdvancedMessage.create()Creates a newAdvancedMessageinstance using the library default implementation.Assign or replace theFooterinstance associated with this message.AdvancedMessage.forEachBodySection(Consumer<Section<?>> consumer) Performs the given action for each bodySectionof theAdvancedMessageuntil all sections have been presented to the givenConsumeror the consumer throws an exception.Assign or replace theHeaderinstance associated with this message.AdvancedMessage.messageFormat(int messageFormat) Sets the message format to use when the message is sent.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 AdvancedMessageModifier and TypeClassDescriptionfinal classClient providedAdvancedMessageimplementation that is used when sending messages from aClientSenderor when decoding an AMQP Transfer for which all frames have arrived.final classStreamed 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 AdvancedMessageModifier and TypeMethodDescriptionstatic <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.ClientMessage.toAdvancedMessage()Methods in org.apache.qpid.protonj2.client.impl with parameters of type AdvancedMessageModifier and TypeMethodDescriptionstatic ProtonBufferClientMessageSupport.encodeMessage(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBufferClientMessageSupport.encodeMessage(AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations, ProtonBufferAllocator allocator) static ProtonBufferClientMessageSupport.encodeMessage(Encoder encoder, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations) static ProtonBufferClientMessageSupport.encodeMessage(Encoder encoder, EncoderState encoderState, ProtonBufferAllocator allocator, AdvancedMessage<?> message, Map<String, Object> deliveryAnnotations)