public class JmsEndpointConfiguration extends AbstractPollableEndpointConfiguration
| Constructor and Description |
|---|
JmsEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
getConnectionFactory()
Gets the connection factory.
|
javax.jms.Destination |
getDestination()
Gets the destination.
|
String |
getDestinationName()
Gets the destination name.
|
String |
getDestinationName(javax.jms.Destination destination)
Get the destination name (either a queue name or a topic name).
|
EndpointUriResolver |
getDestinationNameResolver()
Gets the destinationNameResolver.
|
org.springframework.jms.support.destination.DestinationResolver |
getDestinationResolver()
Sets the destination resolver.
|
String |
getDurableSubscriberName()
Gets the durableSubscriberName.
|
org.springframework.jms.support.JmsHeaderMapper |
getHeaderMapper()
Gets the JMS header mapper.
|
org.springframework.jms.core.JmsTemplate |
getJmsTemplate()
Gets the JMS template.
|
JmsMessageConverter |
getMessageConverter()
Gets the message converter.
|
boolean |
isAutoStart()
Gets the autoStart.
|
boolean |
isDurableSubscription()
Gets the durableSubscription.
|
boolean |
isPubSubDomain()
Does domain use topics instead of queues.
|
boolean |
isUseObjectMessages()
Determines weather to convert outbound messages or not.
|
void |
setAutoStart(boolean autoStart)
Sets the autoStart.
|
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
Sets the connection factory.
|
void |
setDestination(javax.jms.Destination destination)
Sets the destination.
|
void |
setDestinationName(String destinationName)
Sets the destination name.
|
void |
setDestinationNameResolver(EndpointUriResolver destinationNameResolver)
Sets the destinationNameResolver.
|
void |
setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
Gets the destination resolver.
|
void |
setDurableSubscriberName(String durableSubscriberName)
Sets the durableSubscriberName.
|
void |
setDurableSubscription(boolean durableSubscription)
Sets the durableSubscription.
|
void |
setHeaderMapper(org.springframework.jms.support.JmsHeaderMapper headerMapper)
Sets the JMS header mapper.
|
void |
setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
Sets the JMS template.
|
void |
setMessageConverter(JmsMessageConverter messageConverter)
Sets the message converter.
|
void |
setPubSubDomain(boolean pubSubDomain)
Sets if domain uses topics instead of queues.
|
void |
setUseObjectMessages(boolean useObjectMessages) |
getPollingInterval, setPollingIntervalgetTimeout, setTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTimeout, setTimeoutpublic String getDestinationName(javax.jms.Destination destination)
destination - public boolean isPubSubDomain()
public void setPubSubDomain(boolean pubSubDomain)
pubSubDomain - the pubSubDomain to setpublic javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
connectionFactory - the connectionFactory to setpublic javax.jms.Destination getDestination()
public void setDestination(javax.jms.Destination destination)
destination - the destination to setpublic String getDestinationName()
public void setDestinationName(String destinationName)
destinationName - the destinationName to setpublic org.springframework.jms.support.destination.DestinationResolver getDestinationResolver()
public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
destinationResolver - the destinationResolver to setpublic void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
jmsTemplate - the jmsTemplate to setpublic org.springframework.jms.core.JmsTemplate getJmsTemplate()
public JmsMessageConverter getMessageConverter()
public void setMessageConverter(JmsMessageConverter messageConverter)
messageConverter - public org.springframework.jms.support.JmsHeaderMapper getHeaderMapper()
public void setHeaderMapper(org.springframework.jms.support.JmsHeaderMapper headerMapper)
headerMapper - the headerMapper to setpublic boolean isUseObjectMessages()
public void setUseObjectMessages(boolean useObjectMessages)
useObjectMessages - public EndpointUriResolver getDestinationNameResolver()
public void setDestinationNameResolver(EndpointUriResolver destinationNameResolver)
destinationNameResolver - public boolean isAutoStart()
public void setAutoStart(boolean autoStart)
autoStart - public boolean isDurableSubscription()
public void setDurableSubscription(boolean durableSubscription)
durableSubscription - public String getDurableSubscriberName()
public void setDurableSubscriberName(String durableSubscriberName)
durableSubscriberName - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.