Navigation :
Custom Operations
Customizing Default Operations
The default DLC operations can be found in DefaultDlcOperationsConfig
class and can be overridden.
For an example of this, see Custom Topic Ordering.
Adding Operations
Configuration
public class CustomOperationsConfig {
@Bean
public IDlcOperation customOperation(
) {
return new CustomOperation();
}
}
Custom Operation
class CustomOperation implements IDlcOperation {
public CustomOperation() {
}
@Override
public String getName() {
return "CUSTOM";
}
@Override
public DlcResponse process(DlcRequest request) {
// Custom logic
}
}