Package org.citrusframework.jms.endpoint
Class JmsSyncEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.jms.endpoint.JmsEndpointConfiguration
org.citrusframework.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 -
Method Summary
Modifier and TypeMethodDescriptionGets the correlator.longGets the pollingInterval.jakarta.jms.DestinationGets the replyDestination.Gets the replyDestinationName.voidsetCorrelator(MessageCorrelator correlator) Set the reply message correlator.voidsetPollingInterval(long pollingInterval) Sets the pollingInterval.voidsetReplyDestination(jakarta.jms.Destination replyDestination) Set the reply destination.voidsetReplyDestinationName(String replyDestinationName) Set the reply destination name.Methods inherited from class org.citrusframework.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, setUseObjectMessagesMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Constructor Details
-
JmsSyncEndpointConfiguration
public JmsSyncEndpointConfiguration()
-
-
Method Details
-
setCorrelator
Set the reply message correlator.- Parameters:
correlator- the correlator to set
-
getCorrelator
Gets the correlator.- Returns:
- the correlator
-
getReplyDestination
public jakarta.jms.Destination getReplyDestination()Gets the replyDestination.- Returns:
- the replyDestination
-
setReplyDestination
public void setReplyDestination(jakarta.jms.Destination replyDestination) Set the reply destination.- Parameters:
replyDestination- the replyDestination to set
-
getReplyDestinationName
Gets the replyDestinationName.- Returns:
- the replyDestinationName
-
setReplyDestinationName
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
-