Class DirectSyncProducer
java.lang.Object
org.citrusframework.endpoint.direct.DirectProducer
org.citrusframework.endpoint.direct.DirectSyncProducer
- All Implemented Interfaces:
Consumer,Producer,ReplyConsumer,SelectiveConsumer
-
Constructor Summary
ConstructorsConstructorDescriptionDirectSyncProducer(String name, DirectSyncEndpointConfiguration endpointConfiguration) Default constructor using endpoint configuration. -
Method Summary
Modifier and TypeMethodDescriptionGets the correlation manager.receive(String selector, TestContext context) receive(String selector, TestContext context, long timeout) receive(TestContext context) receive(TestContext context, long timeout) voidsend(Message message, TestContext context) voidsetCorrelationManager(CorrelationManager<Message> correlationManager) Sets the correlation manager.Methods inherited from class org.citrusframework.endpoint.direct.DirectProducer
getDestinationQueue, getDestinationQueueName, getName, resolveQueueName
-
Constructor Details
-
DirectSyncProducer
Default constructor using endpoint configuration.- Parameters:
name-endpointConfiguration-
-
-
Method Details
-
send
- Specified by:
sendin interfaceProducer- Overrides:
sendin classDirectProducer
-
receive
-
receive
- Specified by:
receivein interfaceSelectiveConsumer
-
receive
-
receive
- Specified by:
receivein interfaceSelectiveConsumer
-
getCorrelationManager
Gets the correlation manager.- Returns:
-
setCorrelationManager
Sets the correlation manager.- Parameters:
correlationManager-
-