Class DirectSyncEndpointBuilder
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointBuilder<DirectSyncEndpoint>
-
- com.consol.citrus.endpoint.direct.DirectSyncEndpointBuilder
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointBuilder<DirectSyncEndpoint>
public class DirectSyncEndpointBuilder extends AbstractEndpointBuilder<DirectSyncEndpoint>
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description DirectSyncEndpointBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectSyncEndpointBuilder
correlator(com.consol.citrus.message.MessageCorrelator correlator)
Sets the message correlator.protected DirectSyncEndpoint
getEndpoint()
Gets the target endpoint instance.DirectSyncEndpointBuilder
pollingInterval(int pollingInterval)
Sets the polling interval.DirectSyncEndpointBuilder
queue(com.consol.citrus.message.MessageQueue queue)
Sets the queue property.DirectSyncEndpointBuilder
queue(String queueName)
Sets the queueName property.DirectSyncEndpointBuilder
timeout(long timeout)
Sets the default timeout.-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supports
-
-
-
-
Method Detail
-
getEndpoint
protected DirectSyncEndpoint getEndpoint()
Description copied from class:AbstractEndpointBuilder
Gets the target endpoint instance.- Specified by:
getEndpoint
in classAbstractEndpointBuilder<DirectSyncEndpoint>
- Returns:
-
queue
public DirectSyncEndpointBuilder queue(String queueName)
Sets the queueName property.- Parameters:
queueName
-- Returns:
-
queue
public DirectSyncEndpointBuilder queue(com.consol.citrus.message.MessageQueue queue)
Sets the queue property.- Parameters:
queue
-- Returns:
-
pollingInterval
public DirectSyncEndpointBuilder pollingInterval(int pollingInterval)
Sets the polling interval.- Parameters:
pollingInterval
-- Returns:
-
correlator
public DirectSyncEndpointBuilder correlator(com.consol.citrus.message.MessageCorrelator correlator)
Sets the message correlator.- Parameters:
correlator
-- Returns:
-
timeout
public DirectSyncEndpointBuilder timeout(long timeout)
Sets the default timeout.- Parameters:
timeout
-- Returns:
-
-