Annotation Interface EnableForJms.Inbound

Enclosing class:
EnableForJms

@Retention(RUNTIME) public static @interface EnableForJms.Inbound
  • Element Details

    • scan

      Class<?>[] scan
      Default:
      {}
    • concurrency

      String concurrency
      Default:
      "0"
    • name

      String name
      The bean name of the endpoint. Must be unique if specified.

      Does not support Spring property placeholder.

      Default:
      ""
    • autoStartup

      String autoStartup
      Specifies whether the listener should be started automatically.

      Supports Spring property placeholder.

      Default:
      "true"
    • connectionFactory

      String connectionFactory
      Default:
      ""
    • completedInvocationConsumer

      String completedInvocationConsumer

      Supports Spring property placeholder.

      Default:
      ""
    • failedInvocationInterceptor

      String failedInvocationInterceptor
      Specifies the bean name of the FailedInvocationInterceptor type to receive FailedInvocation.

      If the execution of a ForJmsType object on this in-bound endpoint throws an exception, the consumer bean will be invoked.

      If the invocation of the bean completes without an exception, the Message will be acknowledged to the broker as a success.

      The bean can throw exception in which case the message follows broker's dead-lettering process.

      The consumer bean is meant to handle exceptions thrown by ForJmsType objects. It applies only after a matching ForJmsType class has been found. E.g., the bean will not be invoked for basic JMSException prior to Message.getJMSType() matching, i.e., UnknownTypeException.

      Supports Spring property placeholder.

      Default:
      ""