Package org.citrusframework.endpoint
Interface Endpoint
- All Superinterfaces:
Named
- All Known Subinterfaces:
Server
Endpoint interface defines basic send and receive operations on a message endpoint.
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Method Summary
Modifier and TypeMethodDescriptionCreates a message consumer for this endpoint.Creates a message producer for this endpoint for sending messages to this endpoint.getActor()Gets the sending actor.Gets the endpoint configuration holding all endpoint specific properties such as endpoint uri, connection timeout, ports, etc.getName()Gets the endpoint name usually the Spring bean name.voidSets the test actor for this endpoint.
-
Method Details
-
createProducer
Producer createProducer()Creates a message producer for this endpoint for sending messages to this endpoint. -
createConsumer
Consumer createConsumer()Creates a message consumer for this endpoint. Consumer receives messages on this endpoint.- Returns:
-
getEndpointConfiguration
EndpointConfiguration getEndpointConfiguration()Gets the endpoint configuration holding all endpoint specific properties such as endpoint uri, connection timeout, ports, etc.- Returns:
-
getActor
TestActor getActor()Gets the sending actor.- Returns:
-
setActor
Sets the test actor for this endpoint.- Parameters:
actor-
-
getName
String getName()Gets the endpoint name usually the Spring bean name.- Returns:
-