Interface Endpoint

  • All Superinterfaces:
    Named
    All Known Subinterfaces:
    Server

    public interface Endpoint
    extends Named
    Endpoint interface defines basic send and receive operations on a message endpoint.
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Method Detail

      • 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

        void setActor​(TestActor actor)
        Sets the test actor for this endpoint.
        Parameters:
        actor -
      • getName

        String getName()
        Gets the endpoint name usually the Spring bean name.
        Returns: