diff --git a/src/reference/docbook/endpoint.xml b/src/reference/docbook/endpoint.xml index b66dd5682b..1a527e6cbf 100644 --- a/src/reference/docbook/endpoint.xml +++ b/src/reference/docbook/endpoint.xml @@ -461,14 +461,14 @@ consumer.setTaskExecutor(taskExecutor); Since Spring transaction support depends on the Proxy mechanism  with TransactionInterceptor (AOP Advice) handling transactional behavior of the message flow initiated by the poller, some times there is a need to provide extra Advice(s) to handle other cross cutting behavior associated with the poller. For that poller defines an advice-chain element allowing you to add - more advices - class that  implements MethodInterceptor interface..  + more advices - class that  implements MethodInterceptor interface... - - + + ]]> @@ -476,6 +476,11 @@ For more information on how to implement MethodInterceptor please refer to AOP s reference manual (section 8 and 9). Advice chain can also be applied on the poller that does not have any transaction configuration essentially allowing you to enhance the behavior of the message flow initiated by the poller. + + When using an advice chain, the <transactional/> child element cannot be specified; instead, + declare a <tx:advice/> bean and add it to the <advice-chain/>. + See for complete configuration. + TaskExecutor Support diff --git a/src/reference/docbook/transactions.xml b/src/reference/docbook/transactions.xml index 04f8368cd6..3e96d6ec4b 100644 --- a/src/reference/docbook/transactions.xml +++ b/src/reference/docbook/transactions.xml @@ -153,7 +153,7 @@ As you can see from the example above, we have provided a very basic XML-based configuration of Spring Transaction advice  - "txAdvice" and included it within the <advice-chain> defined by the Poller. If you only need to address transactional concerns of the Poller, then you can still use the <transactional> element -as a convinience. +as a convenience.