Annotation Type JmsListener


@Retention(CLASS) @Target(METHOD) public @interface JmsListener
Spring's @JmsListener, so a Spring listener ports by changing its import: the same as MessageListener, over whichever transport is configured. destination is the queue; concurrency is a number of consumer threads, or min-max, of which the maximum is used.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Consumer threads, as n or min-max.
    The queue.
    Accepted and ignored: a listener's identity is its method.
  • Element Details

    • destination

      String destination
      The queue.
      Default:
      ""
    • concurrency

      String concurrency
      Consumer threads, as n or min-max.
      Default:
      ""
    • id

      String id
      Accepted and ignored: a listener's identity is its method.
      Default:
      ""