public class JmsSendingMessageHandler extends AbstractMessageHandler
IntegrationManagement.ManagementOverridesEXPRESSION_PARSER, loggerMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
JmsSendingMessageHandler(org.springframework.jms.core.JmsTemplate jmsTemplate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(org.springframework.messaging.Message<?> message) |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setDestination(javax.jms.Destination destination) |
void |
setDestinationExpression(org.springframework.expression.Expression destinationExpression) |
void |
setDestinationName(java.lang.String destinationName) |
void |
setExtractPayload(boolean extractPayload)
Specify whether the payload should be extracted from each integration
Message to be used as the JMS Message body.
|
void |
setHeaderMapper(JmsHeaderMapper headerMapper) |
configureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic JmsSendingMessageHandler(org.springframework.jms.core.JmsTemplate jmsTemplate)
public void setDestination(javax.jms.Destination destination)
public void setDestinationName(java.lang.String destinationName)
public void setDestinationExpression(org.springframework.expression.Expression destinationExpression)
public void setHeaderMapper(JmsHeaderMapper headerMapper)
public void setExtractPayload(boolean extractPayload)
The default value is true. To force passing of the full
Spring Integration Message instead, set this to false.
extractPayload - true to extract the payload.public java.lang.String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerprotected void onInit()
IntegrationObjectSupportonInit in class AbstractMessageHandlerprotected void handleMessageInternal(org.springframework.messaging.Message<?> message)
throws java.lang.Exception
handleMessageInternal in class AbstractMessageHandlerjava.lang.Exception