Skip to content

@Timeout is not working with spring boot application #651

Open
@santoshbmath

Description

@santoshbmath

Hi,

I have a spring boot application which exposes some REST APIs and i am trying to put timeout for the APIs as below but its not timing out. Am i missing anything ?

          @Timeout(400)
	  @RequestMapping(value = "/orders/{orderNumber}", method = RequestMethod.GET)
	  public @ResponseBody ResponseEntity<Result> findByOrderNumber(@PathVariable("orderNumber") String orderNumber) {
                  ...
                  ...
           }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions