Annotation Interface EnableForJms


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
     
  • 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

    • 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 no bean name is specified, i.e., 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"