Hello,
which is the preferred way to decorate an Appender with additional behavior ?
Optimally, the new behavior should be applicable to any Appender.
As an example consider the Cyclic Queue behavior of the SMPTAppender. A CyclicQueueAppender could implement this feature and delegate calls to a referenced concrete Appender, such that the feature can be utilized in other (non-SMTP) scenarios as well.
Also (if currently possible) the Decorator should be configured declaratively within a configuration file.
kind regards,
Andreas