Command/reply messaging lets a service send a command and receive a reply describing the result. It provides an asynchronous request/response style through producer and handler APIs. section 8.3.10 section 8.4
CommandProducer commandProducer = ...;
Map<String, String> extraMessageHeaders = Collections.emptyMap();
String commandId = commandProducer.send("CustomerCommandChannel",
new DoSomethingCommand(),
"ReplyToChannel",
extraMessageHeaders);
A command producer sends a command to a channel and specifies a reply channel. section 8.3.10
Command handler
A customer command handler processes a ReserveCreditCommand and returns a ReserveCreditResult. section 8.3.10
