D - message channel typepublic abstract class AbstractMessageChannelMessagingSendingTemplate<D extends MessageChannel> extends AbstractMessageSendingTemplate<D> implements DestinationResolvingMessageSendingOperations<D>
CONVERSION_HINT_HEADER, logger| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageChannelMessagingSendingTemplate(DestinationResolver<String> destinationResolver) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
convertAndSend(String destinationName,
T payload) |
<T> void |
convertAndSend(String destinationName,
T payload,
Map<String,Object> headers) |
<T> void |
convertAndSend(String destinationName,
T payload,
Map<String,Object> headers,
MessagePostProcessor postProcessor) |
<T> void |
convertAndSend(String destinationName,
T payload,
MessagePostProcessor postProcessor) |
protected void |
doSend(D destination,
Message<?> message) |
protected void |
initMessageConverter(MessageConverter messageConverter) |
protected abstract D |
resolveMessageChannel(String physicalResourceIdentifier) |
protected D |
resolveMessageChannelByLogicalName(String destination) |
void |
send(String destinationName,
Message<?> message) |
void |
setDefaultDestinationName(String defaultDestination) |
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, doConvert, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, processHeadersToSend, send, send, setDefaultDestination, setMessageConverterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, sendprotected AbstractMessageChannelMessagingSendingTemplate(DestinationResolver<String> destinationResolver)
public void setDefaultDestinationName(String defaultDestination)
protected void doSend(D destination, Message<?> message)
doSend in class AbstractMessageSendingTemplate<D extends MessageChannel>public void send(String destinationName, Message<?> message) throws MessagingException
send in interface DestinationResolvingMessageSendingOperations<D extends MessageChannel>MessagingExceptionpublic <T> void convertAndSend(String destinationName, T payload) throws MessagingException
convertAndSend in interface DestinationResolvingMessageSendingOperations<D extends MessageChannel>MessagingExceptionpublic <T> void convertAndSend(String destinationName, T payload, Map<String,Object> headers) throws MessagingException
convertAndSend in interface DestinationResolvingMessageSendingOperations<D extends MessageChannel>MessagingExceptionpublic <T> void convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor) throws MessagingException
convertAndSend in interface DestinationResolvingMessageSendingOperations<D extends MessageChannel>MessagingExceptionpublic <T> void convertAndSend(String destinationName, T payload, Map<String,Object> headers, MessagePostProcessor postProcessor) throws MessagingException
convertAndSend in interface DestinationResolvingMessageSendingOperations<D extends MessageChannel>MessagingExceptionprotected D resolveMessageChannelByLogicalName(String destination)
protected void initMessageConverter(MessageConverter messageConverter)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.