Annotation Type IncomingEndpoint


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface IncomingEndpoint
    Field or method to inject a matching incoming endpoint. A method shall have one or two parameters. If a single parameter than the endpoint is passed to the method. If two parameters then the connection and endpoint are passed - it allows to use one method for more than one connection/endpoint.
    Author:
    Pavel
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int priority
      Matching priority.
      String value
      If not blank, the value shall be a Spring boolean expression which is evaluated in the context of the incoming connection.
      • priority

        int priority
        Matching priority. Defaults to 0. Higher priorities are matched before lower priorities.
        Returns:
        Default:
        0