send - Send a string type via Publisher. It does not need any conversion, you may add additional Media Type of $data.
sendWithMetadata - Does the same as send, allows for sending additional Meta data.
convertAndSend - Allow for sending types, which needs conversion. Allow for sending objects and array, Ecotone make use of Conversion system to convert $data.
convertAndSendWithMetadata - Does the same as convertAndSend, allow for sending additional Meta data.
If you want to publish Message directly to Exchange, you may use of Publisher.
Reference name - Name under which it will be available in Dependency Container.
Exchange name - Name of exchange where Message should be publisher
Default Conversion [Optional] - Default type, payload will be converted to.
Publisher is a special type of Gateway, which implements Publisher interface.
It will be available in your Dependency Container under passed Reference name.
In case interface name Publisher:class is used, it will be available using auto-wire.