Uses of Class
org.springframework.amqp.core.Message
Packages that use Message
Package
Description
Provides core classes for the spring AMQP abstraction.
Provides top-level classes for Spring Rabbit.
Provides classes for message batching.
Provides core classes for Spring Rabbit.
Provides classes for message listener containers.
Provides classes for adapting listeners.
Provides Additional APIs for listeners.
Provides classes supporting Log4j 2 appenders.
Provides classes supporting Logback appenders.
Provides classes supporting retries.
Provides support classes for Spring Rabbit.
Provides classes for Micrometer support.
Classes for testing Spring AMQP applications.
Provides Spring support for RabbitMQ AMQP 1.0 Client.
Provides Spring support for RabbitMQ AMQP 1.0 Consumer.
Provides classes for supporting message conversion.
Package for Spring AMQP message post processors.
Provides classes for stream producers.
Provides classes supporting retries.
Provides classes for message conversion.
-
Uses of Message in org.springframework.amqp.core
Subclasses with type arguments of type Message in org.springframework.amqp.coreModifier and TypeClassDescriptionfinal classBuilds a Spring AMQP Message either from a byte[] body or another Message using a fluent API.Subinterfaces with type arguments of type Message in org.springframework.amqp.coreModifier and TypeInterfaceDescriptioninterfaceMessageexchanging contract ofReceiveAndReplyCallback.interfaceMessageexchanging contract ofReceiveAndReplyCallback.Methods in org.springframework.amqp.core that return MessageModifier and TypeMethodDescriptionMessageBuilder.build()ReturnedMessage.getMessage()Get the message.AmqpReplyTimeoutException.getRequestMessage()AmqpMessageReturnedException.getReturnedMessage()MessagePostProcessor.postProcessMessage(Message message) Change (or replace) the message.default MessageMessagePostProcessor.postProcessMessage(Message message, @Nullable Correlation correlation) Change (or replace) the message and/or change its correlation data.default MessageMessagePostProcessor.postProcessMessage(Message message, @Nullable Correlation correlation, String exchange, String routingKey) Change (or replace) the message and/or change its correlation data.@Nullable MessageAmqpTemplate.receive()Receive a message if there is one from a default queue.@Nullable MessageAmqpTemplate.receive(long timeoutMillis) Receive a message from a default queue, waiting up to the specified wait time if necessary for a message to become available.@Nullable MessageReceive a message if there is one from a specific queue.@Nullable MessageReceive a message from a specific queue, waiting up to the specified wait time if necessary for a message to become available.@Nullable MessageAmqpTemplate.sendAndReceive(String exchange, String routingKey, Message message) Basic RPC pattern.@Nullable MessageAmqpTemplate.sendAndReceive(String routingKey, Message message) Basic RPC pattern.@Nullable MessageAmqpTemplate.sendAndReceive(Message message) Basic RPC pattern.Methods in org.springframework.amqp.core that return types with arguments of type MessageModifier and TypeMethodDescriptiondefault CompletableFuture<Message> AsyncAmqpTemplate.receive()default CompletableFuture<Message> AsyncAmqpTemplate.sendAndReceive(String exchange, @Nullable String routingKey, Message message) Send a message to the supplied exchange and routing key.AsyncAmqpTemplate.sendAndReceive(String routingKey, Message message) Send a message to the default exchange with the supplied routing key.AsyncAmqpTemplate.sendAndReceive(Message message) Send a message to the default exchange with the default routing key.Methods in org.springframework.amqp.core with parameters of type MessageModifier and TypeMethodDescriptionstatic MessageBuilderMessageBuilder.fromClonedMessage(Message message) The final message will have a copy of the message body, the MessageProperties will be cloned (top level only).static MessageBuilderMessageBuilder.fromMessage(Message message) The final message body will be a direct reference to the message body, the MessageProperties will be a shallow copy.ReplyToAddressCallback.getReplyToAddress(Message request, T reply) default voidvoidDelivers a single message.MessagePostProcessor.postProcessMessage(Message message) Change (or replace) the message.default MessageMessagePostProcessor.postProcessMessage(Message message, @Nullable Correlation correlation) Change (or replace) the message and/or change its correlation data.default MessageMessagePostProcessor.postProcessMessage(Message message, @Nullable Correlation correlation, String exchange, String routingKey) Change (or replace) the message and/or change its correlation data.voidSend a message to a specific exchange with a specific routing key.voidSend a message to a default exchange with a specific routing key.voidSend a message to a default exchange with a default routing key.default CompletableFuture<Boolean> default CompletableFuture<Boolean> default CompletableFuture<Boolean> @Nullable MessageAmqpTemplate.sendAndReceive(String exchange, String routingKey, Message message) Basic RPC pattern.@Nullable MessageAmqpTemplate.sendAndReceive(String routingKey, Message message) Basic RPC pattern.@Nullable MessageAmqpTemplate.sendAndReceive(Message message) Basic RPC pattern.AsyncAmqpTemplate.sendAndReceive(String exchange, @Nullable String routingKey, Message message) Send a message to the supplied exchange and routing key.AsyncAmqpTemplate.sendAndReceive(String routingKey, Message message) Send a message to the default exchange with the supplied routing key.AsyncAmqpTemplate.sendAndReceive(Message message) Send a message to the default exchange with the default routing key.Method parameters in org.springframework.amqp.core with type arguments of type MessageModifier and TypeMethodDescriptionvoidBatchMessageListener.onMessageBatch(List<Message> messages) default voidMessageListener.onMessageBatch(List<Message> messages) Delivers a batch of messages.Constructors in org.springframework.amqp.core with parameters of type MessageModifierConstructorDescriptionAmqpReplyTimeoutException(String message, Message requestMessage) ReturnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey) -
Uses of Message in org.springframework.amqp.rabbit
Subclasses with type arguments of type Message in org.springframework.amqp.rabbitMethods in org.springframework.amqp.rabbit with parameters of type MessageModifier and TypeMethodDescriptionvoidAsyncRabbitTemplate.sendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message) AsyncRabbitTemplate.sendAndReceive(@Nullable String routingKey, Message message) AsyncRabbitTemplate.sendAndReceive(Message message) Constructors in org.springframework.amqp.rabbit with parameters of type MessageModifierConstructorDescriptionprotectedRabbitFuture(String correlationId, Message requestMessage, BiConsumer<String, @Nullable DirectReplyToMessageListenerContainer.ChannelHolder> canceler, Function<RabbitFuture<?>, @Nullable ScheduledFuture<?>> timeoutTaskFunction) -
Uses of Message in org.springframework.amqp.rabbit.batch
Methods in org.springframework.amqp.rabbit.batch that return MessageModifier and TypeMethodDescriptionMessageBatch.getMessage()Deprecated, for removal: This API element is subject to removal in a future version.MessageBatch.message()Returns the value of themessagerecord component.Methods in org.springframework.amqp.rabbit.batch with parameters of type MessageModifier and TypeMethodDescription@Nullable MessageBatchBatchingStrategy.addToBatch(@Nullable String exchange, @Nullable String routingKey, Message message) Add a message to the batch and optionally release the batch.@Nullable MessageBatchSimpleBatchingStrategy.addToBatch(@Nullable String exch, @Nullable String routKey, Message message) default voidDecode a message into fragments.voidDebatch a message that has a header withMessageProperties.SPRING_BATCH_FORMATset toMessageProperties.BATCH_FORMAT_LENGTH_HEADER4.Method parameters in org.springframework.amqp.rabbit.batch with type arguments of type MessageModifier and TypeMethodDescriptiondefault voidDecode a message into fragments.voidDebatch a message that has a header withMessageProperties.SPRING_BATCH_FORMATset toMessageProperties.BATCH_FORMAT_LENGTH_HEADER4.Constructors in org.springframework.amqp.rabbit.batch with parameters of type MessageModifierConstructorDescriptionMessageBatch(@Nullable String exchange, @Nullable String routingKey, Message message) Creates an instance of aMessageBatchrecord class. -
Uses of Message in org.springframework.amqp.rabbit.core
Methods in org.springframework.amqp.rabbit.core that return MessageModifier and TypeMethodDescriptionprotected MessageRabbitTemplate.convertMessageIfNecessary(Object object) protected @Nullable MessageRabbitTemplate.convertSendAndReceiveRaw(@Nullable String exchange, @Nullable String routingKey, Object message, @Nullable MessagePostProcessor messagePostProcessor, @Nullable CorrelationData correlationData) Convert and send a message and return the raw reply message, or null.protected @Nullable MessageRabbitTemplate.doReceiveNoWait(String queueName) Non-blocking receive.protected @Nullable MessageRabbitTemplate.doSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) Send a message and wait for a reply.protected @Nullable MessageRabbitTemplate.doSendAndReceiveWithFixed(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) protected @Nullable MessageRabbitTemplate.doSendAndReceiveWithTemporary(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) AmqpNackReceivedException.getFailedMessage()Return the failed message.@Nullable MessageRabbitTemplate.receive()@Nullable MessageRabbitTemplate.receive(long timeoutMillis) @Nullable Message@Nullable Message@Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String routingKey, Message message) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) @Nullable MessageRabbitTemplate.sendAndReceive(Message message) @Nullable MessageRabbitTemplate.sendAndReceive(Message message, @Nullable CorrelationData correlationData) Methods in org.springframework.amqp.rabbit.core with parameters of type MessageModifier and TypeMethodDescriptionprotected @Nullable Message<?> RabbitMessagingTemplate.convertAmqpMessage(@Nullable Message message) voidRabbitTemplate.doSend(com.rabbitmq.client.Channel channel, @Nullable String exchangeArg, @Nullable String routingKeyArg, Message message, boolean mandatory, @Nullable CorrelationData correlationData) Send the given message to the specified exchange.protected @Nullable MessageRabbitTemplate.doSendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) Send a message and wait for a reply.protected @Nullable MessageRabbitTemplate.doSendAndReceiveWithFixed(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) protected @Nullable MessageRabbitTemplate.doSendAndReceiveWithTemporary(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) RabbitTemplate.isMandatoryFor(Message message) Return whether the provided message should be sent with the mandatory flag set.protected voidRabbitTemplate.logReceived(String prefix, @Nullable Message message) Log a received message.protected voidRabbitTemplate.observeTheSend(com.rabbitmq.client.Channel channel, Message message, boolean mandatory, String exch, String rKey) voidvoidCorrelationDataPostProcessor.postProcess(Message message, @Nullable CorrelationData correlationData) Update or replace the correlation data provided in the send method.voidBatchingRabbitTemplate.send(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) voidRabbitOperations.send(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) Send a message to a specific exchange with a specific routing key.default voidRabbitOperations.send(@Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) Send a message to the default exchange with a specific routing key.voidvoidRabbitTemplate.send(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) voidvoidRabbitTemplate.send(@Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) void@Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String routingKey, Message message) @Nullable MessageRabbitTemplate.sendAndReceive(@Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) @Nullable MessageRabbitTemplate.sendAndReceive(Message message) @Nullable MessageRabbitTemplate.sendAndReceive(Message message, @Nullable CorrelationData correlationData) protected voidRabbitTemplate.sendToRabbit(com.rabbitmq.client.Channel channel, String exchange, String routingKey, boolean mandatory, Message message) Constructors in org.springframework.amqp.rabbit.core with parameters of type MessageModifierConstructorDescriptionAmqpNackReceivedException(String message, Message failedMessage) Create an instance with the provided message and failed message. -
Uses of Message in org.springframework.amqp.rabbit.listener
Methods in org.springframework.amqp.rabbit.listener that return MessageModifier and TypeMethodDescription@Nullable MessageBlockingQueueConsumer.nextMessage()Main application-side API: wait for the next message delivery and return it.@Nullable MessageBlockingQueueConsumer.nextMessage(long timeout) Main application-side API: wait for the next message delivery and return it.Methods in org.springframework.amqp.rabbit.listener that return types with arguments of type MessageModifier and TypeMethodDescriptionMethods in org.springframework.amqp.rabbit.listener with parameters of type MessageModifier and TypeMethodDescriptionprotected voidConditionalRejectingErrorHandler.handleDiscarded(Message failed) Called when a message with a fatal exception has anx-deathheader, prior to discarding the message. -
Uses of Message in org.springframework.amqp.rabbit.listener.adapter
Subinterfaces with type arguments of type Message in org.springframework.amqp.rabbit.listener.adapterModifier and TypeInterfaceDescriptioninterfaceA post processor for replies.interfaceA post processor for replies.interfaceA post processor for replies.Methods in org.springframework.amqp.rabbit.listener.adapter that return MessageModifier and TypeMethodDescriptionprotected MessageAbstractAdaptableMessageListener.buildMessage(@Nullable com.rabbitmq.client.Channel channel, @Nullable Object result, @Nullable Type genericType) Build a Rabbit message to be sent as a response based on the given result object.protected MessageMessagingMessageListenerAdapter.buildMessage(@Nullable com.rabbitmq.client.Channel channel, @Nullable Object result, @Nullable Type genericType) Build a Rabbit message to be sent as response based on the given result object.protected MessageAbstractAdaptableMessageListener.convert(@Nullable Object result, @Nullable Type genericType, MessageConverter converter) Convert to a message with a reply content type based on settings.AbstractAdaptableMessageListener.ReplyExpressionRoot.request()Returns the value of therequestrecord component.Methods in org.springframework.amqp.rabbit.listener.adapter with parameters of type MessageModifier and TypeMethodDescriptionprotected voidAbstractAdaptableMessageListener.asyncFailure(Message request, @Nullable com.rabbitmq.client.Channel channel, Throwable t, @Nullable Object source) protected voidMessagingMessageListenerAdapter.asyncFailure(Message request, @Nullable com.rabbitmq.client.Channel channel, Throwable t, @Nullable Object source) protected voidAbstractAdaptableMessageListener.basicAck(Message request, @Nullable com.rabbitmq.client.Channel channel) protected Object[]MessageListenerAdapter.buildListenerArguments(Object extractedMessage, @Nullable com.rabbitmq.client.Channel channel, Message message) Build an array of arguments to be passed into the target listener method.protected voidAbstractAdaptableMessageListener.doHandleResult(InvocationResult resultArg, Message request, @Nullable com.rabbitmq.client.Channel channel, @Nullable Object source) protected voidAbstractAdaptableMessageListener.doPublish(com.rabbitmq.client.Channel channel, Address replyTo, Message message) protected ObjectAbstractAdaptableMessageListener.extractMessage(Message message) Extract the message body from the given Rabbit message.protected ObjectMessagingMessageListenerAdapter.MessagingMessageConverterAdapter.extractPayload(Message message) protected StringMessageListenerAdapter.getListenerMethodName(Message originalMessage, Object extractedMessage) Determine the name of the listener method that will handle the given message.protected @Nullable StringAbstractAdaptableMessageListener.getReceivedExchange(Message request) protected AddressAbstractAdaptableMessageListener.getReplyToAddress(Message request, @Nullable Object source, InvocationResult result) Determine a reply-to Address for the given message.protected voidMessagingMessageListenerAdapter.handleException(Message amqpMessage, @Nullable com.rabbitmq.client.Channel channel, @Nullable Message<?> message, ListenerExecutionFailedException e) protected voidAbstractAdaptableMessageListener.handleResult(@Nullable InvocationResult resultArg, Message request, @Nullable com.rabbitmq.client.Channel channel, @Nullable Object source) Handle the given result object returned from the listener method, sending a response message back.protected voidAbstractAdaptableMessageListener.handleResult(InvocationResult resultArg, Message request, @Nullable com.rabbitmq.client.Channel channel) Handle the given result object returned from the listener method, sending a response message back.protected InvocationResultMessagingMessageListenerAdapter.invokeHandler(@Nullable com.rabbitmq.client.Channel channel, Message<?> message, boolean batch, Message... amqpMessages) Invoke the handler, wrapping any exception to aListenerExecutionFailedExceptionwith a dedicated error message.protected voidMessagingMessageListenerAdapter.invokeHandlerAndProcessResult(Message amqpMessage, @Nullable com.rabbitmq.client.Channel channel, Message<?> message) protected @Nullable ObjectMessageListenerAdapter.invokeListenerMethod(String methodName, @Nullable Object @Nullable [] arguments, Message originalMessage) Invoke the specified listener method.voidSpringChannelAwareMessageListenerentry point.voidMessagingMessageListenerAdapter.onMessage(Message amqpMessage, @Nullable com.rabbitmq.client.Channel channel) protected voidAbstractAdaptableMessageListener.postProcessChannel(com.rabbitmq.client.Channel channel, Message response) Post-process the given message before sending the response.protected voidAbstractAdaptableMessageListener.postProcessResponse(Message request, Message response) Post-process the given response message before it will be sent.protected voidAbstractAdaptableMessageListener.sendResponse(@Nullable com.rabbitmq.client.Channel channel, Address replyTo, Message messageIn) Send the given response message to the given destination.protected Message<?> BatchMessagingMessageListenerAdapter.toMessagingMessage(Message amqpMessage) protected Message<?> MessagingMessageListenerAdapter.toMessagingMessage(Message amqpMessage) Method parameters in org.springframework.amqp.rabbit.listener.adapter with type arguments of type MessageModifier and TypeMethodDescriptionvoidBatchMessagingMessageListenerAdapter.onMessageBatch(List<Message> messages, @Nullable com.rabbitmq.client.Channel channel) Constructors in org.springframework.amqp.rabbit.listener.adapter with parameters of type MessageModifierConstructorDescriptionReplyExpressionRoot(Message request, @Nullable Object source, @Nullable Object result) Creates an instance of aReplyExpressionRootrecord class. -
Uses of Message in org.springframework.amqp.rabbit.listener.api
Methods in org.springframework.amqp.rabbit.listener.api with parameters of type MessageModifier and TypeMethodDescription@Nullable ObjectRabbitListenerErrorHandler.handleError(Message amqpMessage, @Nullable com.rabbitmq.client.Channel channel, @Nullable Message<?> message, ListenerExecutionFailedException exception) Handle the error.default voidChannelAwareBatchMessageListener.onMessage(Message message, @Nullable com.rabbitmq.client.Channel channel) default voidvoidChannelAwareMessageListener.onMessage(Message message, @Nullable com.rabbitmq.client.Channel channel) Callback for processing a received Rabbit message.Method parameters in org.springframework.amqp.rabbit.listener.api with type arguments of type MessageModifier and TypeMethodDescriptionvoidChannelAwareBatchMessageListener.onMessageBatch(List<Message> messages, @Nullable com.rabbitmq.client.Channel channel) default voidChannelAwareMessageListener.onMessageBatch(List<Message> messages, @Nullable com.rabbitmq.client.Channel channel) -
Uses of Message in org.springframework.amqp.rabbit.log4j2
Methods in org.springframework.amqp.rabbit.log4j2 that return MessageModifier and TypeMethodDescriptionprotected MessageAmqpAppender.postProcessMessageBeforeSend(Message message, AmqpAppender.Event event) Subclasses may modify the final message before sending.Methods in org.springframework.amqp.rabbit.log4j2 with parameters of type MessageModifier and TypeMethodDescriptionprotected MessageAmqpAppender.postProcessMessageBeforeSend(Message message, AmqpAppender.Event event) Subclasses may modify the final message before sending. -
Uses of Message in org.springframework.amqp.rabbit.logback
Methods in org.springframework.amqp.rabbit.logback that return MessageModifier and TypeMethodDescriptionprotected MessageAmqpAppender.postProcessMessageBeforeSend(Message message, AmqpAppender.Event event) Subclasses may modify the final message before sending.Methods in org.springframework.amqp.rabbit.logback with parameters of type MessageModifier and TypeMethodDescriptionprotected MessageAmqpAppender.postProcessMessageBeforeSend(Message message, AmqpAppender.Event event) Subclasses may modify the final message before sending. -
Uses of Message in org.springframework.amqp.rabbit.retry
Methods in org.springframework.amqp.rabbit.retry with parameters of type MessageModifier and TypeMethodDescriptionRepublishMessageRecoverer.additionalHeaders(Message message, @Nullable Throwable cause) Subclasses can override this method to add more headers to the republished message.protected voidSend the message.protected voidRepublishMessageRecovererWithConfirms.doSend(@Nullable String exchange, String routingKey, Message message) @Nullable ObjectGenerate a unique key for the message that is repeatable on redelivery.booleanQuery a message to see if it has been seen before.protected StringRepublishMessageRecoverer.prefixedOriginalRoutingKey(Message message) The default behavior of this method is to append the received routing key to theroutingKeyPrefix.voiddefault voidvoidCallback for a message that was consumed but failed all retry attempts.voidvoidMethod parameters in org.springframework.amqp.rabbit.retry with type arguments of type Message -
Uses of Message in org.springframework.amqp.rabbit.support
Methods in org.springframework.amqp.rabbit.support that return MessageModifier and TypeMethodDescription@Nullable MessageListenerExecutionFailedException.getFailedMessage()Methods in org.springframework.amqp.rabbit.support that return types with arguments of type MessageConstructors in org.springframework.amqp.rabbit.support with parameters of type MessageModifierConstructorDescriptionListenerExecutionFailedException(String msg, Throwable cause, Message... failedMessage) Constructor for ListenerExecutionFailedException. -
Uses of Message in org.springframework.amqp.rabbit.support.micrometer
Subclasses with type arguments of type Message in org.springframework.amqp.rabbit.support.micrometerModifier and TypeClassDescriptionclassReceiverContextforMessages.classSenderContextforMessages.Methods in org.springframework.amqp.rabbit.support.micrometer that return MessageConstructors in org.springframework.amqp.rabbit.support.micrometer with parameters of type MessageModifierConstructorDescriptionRabbitMessageReceiverContext(Message message, String listenerId) RabbitMessageSenderContext(Message message, String beanName, String exchange, String routingKey) Create an instanceRabbitMessageSenderContext. -
Uses of Message in org.springframework.amqp.rabbit.test
Methods in org.springframework.amqp.rabbit.test that return MessageModifier and TypeMethodDescriptionprotected @Nullable MessageTestRabbitTemplate.doSendAndReceiveWithFixed(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) Methods in org.springframework.amqp.rabbit.test with parameters of type MessageModifier and TypeMethodDescriptionprotected @Nullable MessageTestRabbitTemplate.doSendAndReceiveWithFixed(@Nullable String exchange, @Nullable String routingKey, Message message, @Nullable CorrelationData correlationData) protected voidTestRabbitTemplate.sendToRabbit(com.rabbitmq.client.Channel channel, String exchange, String routingKey, boolean mandatory, Message message) -
Uses of Message in org.springframework.amqp.rabbitmq.client
Methods in org.springframework.amqp.rabbitmq.client that return MessageModifier and TypeMethodDescriptionstatic MessageRabbitAmqpUtils.fromAmqpMessage(com.rabbitmq.client.amqp.Message amqpMessage, @Nullable com.rabbitmq.client.amqp.Consumer.Context context) ConvertMessageintoMessage.Methods in org.springframework.amqp.rabbitmq.client that return types with arguments of type MessageModifier and TypeMethodDescriptionRabbitAmqpTemplate.receive()Request a head message from the provided queue.RabbitAmqpTemplate.sendAndReceive(String exchange, @Nullable String routingKey, Message message) RabbitAmqpTemplate.sendAndReceive(String queue, Message message) RabbitAmqpTemplate.sendAndReceive(Message message) Methods in org.springframework.amqp.rabbitmq.client with parameters of type MessageModifier and TypeMethodDescriptionPublish the message to the provided queue.Publish a message to the default exchange and routing key (if any) (or queue) configured on this template.RabbitAmqpTemplate.sendAndReceive(String exchange, @Nullable String routingKey, Message message) RabbitAmqpTemplate.sendAndReceive(String queue, Message message) RabbitAmqpTemplate.sendAndReceive(Message message) static voidRabbitAmqpUtils.toAmqpMessage(Message message, com.rabbitmq.client.amqp.Message amqpMessage) ConvertMessageintoMessage. -
Uses of Message in org.springframework.amqp.rabbitmq.client.listener
Methods in org.springframework.amqp.rabbitmq.client.listener with parameters of type MessageModifier and TypeMethodDescriptionprotected voidRabbitAmqpMessageListenerAdapter.asyncFailure(Message request, @Nullable com.rabbitmq.client.Channel channel, Throwable t, @Nullable Object source) protected voidRabbitAmqpMessageListenerAdapter.basicAck(Message request, @Nullable com.rabbitmq.client.Channel channel) protected voidRabbitAmqpMessageListenerAdapter.sendResponse(@Nullable com.rabbitmq.client.Channel channel, Address replyTo, Message messageIn) Method parameters in org.springframework.amqp.rabbitmq.client.listener with type arguments of type MessageModifier and TypeMethodDescriptionvoidRabbitAmqpMessageListenerAdapter.onMessageBatch(List<Message> messages) -
Uses of Message in org.springframework.amqp.support.converter
Methods in org.springframework.amqp.support.converter that return MessageModifier and TypeMethodDescriptionprotected MessageAbstractJackson2MessageConverter.createMessage(Object objectToConvert, MessageProperties messageProperties) Deprecated, for removal: This API element is subject to removal in a future version.protected MessageAbstractJackson2MessageConverter.createMessage(Object objectToConvert, MessageProperties messageProperties, @Nullable Type genericType) Deprecated, for removal: This API element is subject to removal in a future version.protected MessageAbstractJacksonMessageConverter.createMessage(Object objectToConvert, MessageProperties messageProperties) protected MessageAbstractJacksonMessageConverter.createMessage(Object objectToConvert, MessageProperties messageProperties, @Nullable Type genericType) protected abstract MessageAbstractMessageConverter.createMessage(Object object, MessageProperties messageProperties) Crate a message from the payload object and message properties provided.protected MessageAbstractMessageConverter.createMessage(Object object, MessageProperties messageProperties, @Nullable Type genericType) Crate a message from the payload object and message properties provided.protected MessageMarshallingMessageConverter.createMessage(Object object, MessageProperties messageProperties) Marshals the given object to aMessage.protected MessageSerializerMessageConverter.createMessage(Object object, MessageProperties messageProperties) Creates an AMQP Message from the provided Object.protected MessageSimpleMessageConverter.createMessage(Object object, MessageProperties messageProperties) Creates an AMQP Message from the provided Object.final MessageAbstractMessageConverter.toMessage(Object object, @Nullable MessageProperties messagePropertiesArg, @Nullable Type genericType) final MessageAbstractMessageConverter.toMessage(Object object, MessageProperties messageProperties) ContentTypeDelegatingMessageConverter.toMessage(Object object, MessageProperties messageProperties) MessageConverter.toMessage(Object object, MessageProperties messageProperties) Convert a Java object to a Message.default MessageMessageConverter.toMessage(Object object, MessageProperties messageProperties, @Nullable Type genericType) Convert a Java object to a Message.MessagingMessageConverter.toMessage(Object object, MessageProperties messageProperties) RemoteInvocationAwareMessageConverterAdapter.toMessage(Object object, MessageProperties messageProperties) Methods in org.springframework.amqp.support.converter with parameters of type MessageModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protected ObjectAbstractJacksonMessageConverter.convertContent(Message message, @Nullable Object conversionHint, MessageProperties properties, @Nullable String encoding) protected ObjectJacksonJsonMessageConverter.convertContent(Message message, @Nullable Object conversionHint, MessageProperties properties, @Nullable String encoding) protected ObjectAbstractJacksonMessageConverter.doFromMessage(Message message, @Nullable Object conversionHint, MessageProperties properties, @Nullable String encoding) protected ObjectMessagingMessageConverter.extractPayload(Message message) Extract the payload of the specifiedMessage.AbstractJackson2MessageConverter.fromMessage(Message message) Deprecated, for removal: This API element is subject to removal in a future version.AbstractJackson2MessageConverter.fromMessage(Message message, @Nullable Object conversionHint) Deprecated, for removal: This API element is subject to removal in a future version.A variant ofMessageConverter.fromMessage(Message)which takes an extra conversion context as an argument.AbstractJacksonMessageConverter.fromMessage(Message message) AbstractJacksonMessageConverter.fromMessage(Message message, @Nullable Object conversionHint) A variant ofMessageConverter.fromMessage(Message)which takes an extra conversion context as an argument.ContentTypeDelegatingMessageConverter.fromMessage(Message message) MarshallingMessageConverter.fromMessage(Message message) Unmarshals the givenMessageinto an object.MessageConverter.fromMessage(Message message) Convert from a Message to a Java object.MessagingMessageConverter.fromMessage(Message message) RemoteInvocationAwareMessageConverterAdapter.fromMessage(Message message) SerializerMessageConverter.fromMessage(Message message) Converts from a AMQP Message to an Object.SimpleMessageConverter.fromMessage(Message message) Converts from a AMQP Message to an Object.SmartMessageConverter.fromMessage(Message message, @Nullable Object conversionHint) A variant ofMessageConverter.fromMessage(Message)which takes an extra conversion context as an argument. -
Uses of Message in org.springframework.amqp.support.postprocessor
Methods in org.springframework.amqp.support.postprocessor that return MessageModifier and TypeMethodDescriptionAbstractCompressingPostProcessor.postProcessMessage(Message message) AbstractDecompressingPostProcessor.postProcessMessage(Message message) DelegatingDecompressingPostProcessor.postProcessMessage(Message message) Methods in org.springframework.amqp.support.postprocessor with parameters of type MessageModifier and TypeMethodDescriptionAbstractCompressingPostProcessor.postProcessMessage(Message message) AbstractDecompressingPostProcessor.postProcessMessage(Message message) DelegatingDecompressingPostProcessor.postProcessMessage(Message message) -
Uses of Message in org.springframework.rabbit.stream.producer
Methods in org.springframework.rabbit.stream.producer with parameters of type MessageModifier and TypeMethodDescriptionSend a Spring AMQP message. -
Uses of Message in org.springframework.rabbit.stream.retry
Methods in org.springframework.rabbit.stream.retry with parameters of type Message -
Uses of Message in org.springframework.rabbit.stream.support.converter
Methods in org.springframework.rabbit.stream.support.converter that return MessageModifier and TypeMethodDescriptionDefaultStreamMessageConverter.toMessage(Object object, StreamMessageProperties messageProperties) default MessageStreamMessageConverter.toMessage(Object object, MessageProperties messageProperties) StreamMessageConverter.toMessage(Object object, StreamMessageProperties messageProperties) Methods in org.springframework.rabbit.stream.support.converter with parameters of type MessageModifier and TypeMethodDescriptioncom.rabbitmq.stream.MessageDefaultStreamMessageConverter.fromMessage(Message message) com.rabbitmq.stream.MessageStreamMessageConverter.fromMessage(Message message)
MessageBatch.message()()}.