Class ControlBusController
java.lang.Object
org.springframework.integration.http.management.ControlBusController
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- InitializingBean
@RestController
@RequestMapping("/control-bus")
public class ControlBusController
extends Object
implements BeanFactoryAware, InitializingBean
The REST Controller to provide the management API for Control Bus pattern.
- Since:
- 6.4
- Author:
- Artem Bilan
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record
- 
Constructor SummaryConstructorsConstructorDescriptionControlBusController(ControlBusCommandRegistry controlBusCommandRegistry, FormattingConversionService conversionService) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidinvokeCommand(String command, List<ControlBusController.CommandArgument> arguments) voidsetBeanFactory(BeanFactory beanFactory) 
- 
Constructor Details- 
ControlBusControllerpublic ControlBusController(ControlBusCommandRegistry controlBusCommandRegistry, FormattingConversionService conversionService) 
 
- 
- 
Method Details- 
setBeanFactory- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Throws:
- BeansException
 
- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- InitializingBean
- Throws:
- Exception
 
- 
getCommands
- 
invokeCommand@PostMapping(name="invokeCommand", path="/{command}") public Object invokeCommand(@PathVariable String command, @RequestBody(required=false) List<ControlBusController.CommandArgument> arguments) 
 
-