Annotation Type StreamRetryTemplate


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Documented
    @Bean
    @Qualifier
    public @interface StreamRetryTemplate
    Marker to tag an instance of RetryTemplate to be used by the binder. This annotation is also a @Bean to simplify configuration (see below)
     @StreamRetryTemplate
     public RetryTemplate myRetryTemplate() {
        return new RetryTemplate();
     }
     
    Since:
    2.1
    Author:
    Oleg Zhurakousky