Added 'transactionAttributes' and 'transactionManager' to the @Poller annotation (INT-399).
This commit is contained in:
@@ -24,6 +24,8 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* Annotation that can be specified at method-level alongside a Message Endpoint
|
||||
* annotation (e.g. @Splitter, @ChannelAdapter, etc.) in order to provide the
|
||||
@@ -47,4 +49,8 @@ public @interface Poller {
|
||||
|
||||
int maxMessagesPerPoll() default -1;
|
||||
|
||||
Transactional transactionAttributes() default @Transactional;
|
||||
|
||||
String transactionManager() default "";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user