Class DirectSyncEndpointBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<DirectSyncEndpoint>
org.citrusframework.endpoint.direct.DirectSyncEndpointBuilder
- All Implemented Interfaces:
org.citrusframework.common.Named,org.citrusframework.endpoint.EndpointBuilder<DirectSyncEndpoint>,org.citrusframework.spi.ReferenceResolverAware
-
Field Summary
Fields inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
referenceResolverFields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoCreateQueue(boolean autoCreate) When set the queue is automatically created when it does not exist in bean registry.build()correlator(org.citrusframework.message.MessageCorrelator correlator) Sets the message correlator.protected DirectSyncEndpointGets the target endpoint instance.pollingInterval(int pollingInterval) Sets the polling interval.Sets the queueName property.queue(org.citrusframework.message.MessageQueue queue) Sets the queue property.voidsetAutoCreateQueue(boolean autoCreate) voidsetCorrelator(String correlator) voidsetPollingInterval(int pollingInterval) voidvoidsetTimeout(long timeout) timeout(long timeout) Sets the default timeout.Methods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, initialize, name, referenceResolver, setName, setReferenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
DirectSyncEndpointBuilder
public DirectSyncEndpointBuilder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceorg.citrusframework.endpoint.EndpointBuilder<DirectSyncEndpoint>- Overrides:
buildin classAbstractEndpointBuilder<DirectSyncEndpoint>
-
getEndpoint
Description copied from class:AbstractEndpointBuilderGets the target endpoint instance.- Specified by:
getEndpointin classAbstractEndpointBuilder<DirectSyncEndpoint>
-
queue
Sets the queueName property. -
setQueue
-
queue
Sets the queue property. -
autoCreateQueue
When set the queue is automatically created when it does not exist in bean registry. -
setAutoCreateQueue
public void setAutoCreateQueue(boolean autoCreate) -
pollingInterval
Sets the polling interval. -
setPollingInterval
public void setPollingInterval(int pollingInterval) -
correlator
public DirectSyncEndpointBuilder correlator(org.citrusframework.message.MessageCorrelator correlator) Sets the message correlator. -
setCorrelator
-
timeout
Sets the default timeout. -
setTimeout
public void setTimeout(long timeout)
-