Annotation Type Timeout


  • @Retention(RUNTIME)
    public @interface Timeout
    Annotation that will add a TimeoutHandler to the configured route, causing that route to fail with a 503 server error if no response was written after the specified timeout.
    Author:
    odeda
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Timeout in milliseconds to configure for the TimeoutHandler
    • Element Detail

      • value

        int value
        Timeout in milliseconds to configure for the TimeoutHandler
        Returns:
        number of milliseconds to wait for a response before returning a 503 server error