omq.client.annotation

## Annotation Type SyncMethod

-     @Retention(value=RUNTIME)
      @Target(value=METHOD)
      public @interface SyncMethod

  Annotation which indicates a method as Synchronous. It can have two parameters: timeout and retry which will give you how long you have to wait a synchronous method and how many times you'll wait for the response.
  Author:
    Sergi Toda

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `int` | `retry` Number of retries of a synchronous method
    `long` | `timeout` Timeout of a synchronous method

- - ### Element Detail

    - #### timeout

          public abstract long timeout

      Timeout of a synchronous method
      Returns:
        how long we'll wait for a response
      Default:
        60000L

    - #### retry

          public abstract int retry

      Number of retries of a synchronous method
      Returns:
        how many retries we'll make. If the timeout is set, every timeout will use it
      Default:
        1