Class AbstractEndpoint

java.lang.Object
org.citrusframework.endpoint.AbstractEndpoint
All Implemented Interfaces:
org.citrusframework.common.Named, org.citrusframework.endpoint.Endpoint
Direct Known Subclasses:
AbstractServer, DirectEndpoint, MessageStoreEndpoint, StaticEndpoint

public abstract class AbstractEndpoint extends Object implements org.citrusframework.endpoint.Endpoint
Abstract message endpoint handles send/receive timeout setting and test actors.
Since:
1.4
  • Constructor Details

    • AbstractEndpoint

      public AbstractEndpoint(org.citrusframework.endpoint.EndpointConfiguration endpointConfiguration)
      Default constructor using endpoint configuration.
  • Method Details

    • getEndpointConfiguration

      public org.citrusframework.endpoint.EndpointConfiguration getEndpointConfiguration()
      Specified by:
      getEndpointConfiguration in interface org.citrusframework.endpoint.Endpoint
    • getConsumerName

      public String getConsumerName()
      Gets the endpoints consumer name.
    • getProducerName

      public String getProducerName()
      Gets the endpoints producer name.
    • getActor

      public org.citrusframework.TestActor getActor()
      Specified by:
      getActor in interface org.citrusframework.endpoint.Endpoint
    • setActor

      public void setActor(org.citrusframework.TestActor actor)
      Specified by:
      setActor in interface org.citrusframework.endpoint.Endpoint
    • getName

      public String getName()
      Specified by:
      getName in interface org.citrusframework.endpoint.Endpoint
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.citrusframework.common.Named