Class DirectEndpointBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<DirectEndpoint>
org.citrusframework.endpoint.direct.DirectEndpointBuilder
- All Implemented Interfaces:
org.citrusframework.common.Named,org.citrusframework.endpoint.EndpointBuilder<DirectEndpoint>,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()protected DirectEndpointGets the target endpoint instance.Sets the queueName property.queue(org.citrusframework.message.MessageQueue queue) Sets the queue property.voidsetAutoCreateQueue(boolean autoCreate) 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
-
DirectEndpointBuilder
public DirectEndpointBuilder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceorg.citrusframework.endpoint.EndpointBuilder<DirectEndpoint>- Overrides:
buildin classAbstractEndpointBuilder<DirectEndpoint>
-
getEndpoint
Description copied from class:AbstractEndpointBuilderGets the target endpoint instance.- Specified by:
getEndpointin classAbstractEndpointBuilder<DirectEndpoint>
-
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) -
timeout
Sets the default timeout. -
setTimeout
public void setTimeout(long timeout)
-