Annotation Interface EnableForJms


Enables the server-side capabilities of Auf JMS.

Mostly to declare EnableForJms.Inbound endpoints and scanning and registration of ForJmsType classes for the endpoints.

Since:
1.0
Author:
Lei Yang
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the destinations to listen for incoming messages and their configurations.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the bean name of MsgConsumer type to receive any message that no matching Invocable can be found for its Message.getJMSType().
  • Element Details

    • value

      Specifies the destinations to listen for incoming messages and their configurations.
    • defaultConsumer

      String defaultConsumer
      Specifies the bean name of MsgConsumer type to receive any message that no matching Invocable can be found for its Message.getJMSType().

      The default value specifies a no-operation bean that logs the un-matched message by Logger.atDebug(). This means un-matched messages are to be expected and acknowledged to the broker without triggering the dead-lettering process.

      If the value is an empty string, an un-matched message will result an UnknownTypeException thus trigger the dead-lettering process.

      The setting applies to all InboundEndpoint's.

      Supports Spring property placeholder.

      Default:
      "44fc3968-7eba-47a3-a7b4-54e2b365d027"