Message Endpoint PHP
Message Endpoints/Handlers are consumers and producers of messages. Consumer are not necessary asynchronous, as you may build synchronous flow, compound of multiple endpoints. You will not have to implement them directly, as you should not even have to build messages and invoke or receive message directly from the Message channel. Instead you will be able to focus on your specific domain model with with an implementation based on plain PHP objects. By providing declarative configuration, you can "connect” your domain-specific code to the messaging infrastructure provided by Ecotone.
All Message Handlers follows simple low level interface
* Handles given message
public function handle(Message $message): void;
Command Handlers, Event Handlers, Query Handlersare also Endpoints.