Package com.consol.citrus.jms.endpoint
Class JmsSyncEndpointConfiguration
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointConfiguration
-
- com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
-
- com.consol.citrus.jms.endpoint.JmsEndpointConfiguration
-
- com.consol.citrus.jms.endpoint.JmsSyncEndpointConfiguration
-
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
public class JmsSyncEndpointConfiguration extends JmsEndpointConfiguration implements PollableEndpointConfiguration
Endpoint configuration sets additional synchronous message handling properties such as reply destination and message correlator.- Since:
- 1.4
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description JmsSyncEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageCorrelatorgetCorrelator()Gets the correlator.longgetPollingInterval()Gets the pollingInterval.javax.jms.DestinationgetReplyDestination()Gets the replyDestination.StringgetReplyDestinationName()Gets the replyDestinationName.voidsetCorrelator(MessageCorrelator correlator)Set the reply message correlator.voidsetPollingInterval(long pollingInterval)Sets the pollingInterval.voidsetReplyDestination(javax.jms.Destination replyDestination)Set the reply destination.voidsetReplyDestinationName(String replyDestinationName)Set the reply destination name.-
Methods inherited from class com.consol.citrus.jms.endpoint.JmsEndpointConfiguration
getConnectionFactory, getDestination, getDestinationName, getDestinationName, getDestinationNameResolver, getDestinationResolver, getDurableSubscriberName, getHeaderMapper, getJmsTemplate, getMessageConverter, isAutoStart, isDurableSubscription, isFilterInternalHeaders, isPubSubDomain, isUseObjectMessages, setAutoStart, setConnectionFactory, setDestination, setDestinationName, setDestinationNameResolver, setDestinationResolver, setDurableSubscriberName, setDurableSubscription, setFilterInternalHeaders, setHeaderMapper, setJmsTemplate, setMessageConverter, setPubSubDomain, setUseObjectMessages
-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
-
-
-
Method Detail
-
setCorrelator
public void setCorrelator(MessageCorrelator correlator)
Set the reply message correlator.- Parameters:
correlator- the correlator to set
-
getCorrelator
public MessageCorrelator getCorrelator()
Gets the correlator.- Returns:
- the correlator
-
getReplyDestination
public javax.jms.Destination getReplyDestination()
Gets the replyDestination.- Returns:
- the replyDestination
-
setReplyDestination
public void setReplyDestination(javax.jms.Destination replyDestination)
Set the reply destination.- Parameters:
replyDestination- the replyDestination to set
-
getReplyDestinationName
public String getReplyDestinationName()
Gets the replyDestinationName.- Returns:
- the replyDestinationName
-
setReplyDestinationName
public void setReplyDestinationName(String replyDestinationName)
Set the reply destination name.- Parameters:
replyDestinationName- the replyDestinationName to set
-
getPollingInterval
public long getPollingInterval()
Gets the pollingInterval.- Specified by:
getPollingIntervalin interfacePollableEndpointConfiguration- Overrides:
getPollingIntervalin classAbstractPollableEndpointConfiguration- Returns:
- the pollingInterval the pollingInterval to get.
-
setPollingInterval
public void setPollingInterval(long pollingInterval)
Sets the pollingInterval.- Specified by:
setPollingIntervalin interfacePollableEndpointConfiguration- Overrides:
setPollingIntervalin classAbstractPollableEndpointConfiguration- Parameters:
pollingInterval- the pollingInterval to set
-
-