diff --git a/docs/src/reference/docbook/control-bus.xml b/docs/src/reference/docbook/control-bus.xml index 4aecefdb34..06f9f02472 100644 --- a/docs/src/reference/docbook/control-bus.xml +++ b/docs/src/reference/docbook/control-bus.xml @@ -37,7 +37,7 @@ For example, to execute a method on a Spring Bean a client could send a message to the operation channel as follows: - Message operation = MessageBuilder.withPayload("@myServiceBean.shutdown()"); + Message operation = MessageBuilder.withPayload("@myServiceBean.shutdown()").build(); operationChannel.send(operation) The root of the context for the expression is the