Spring / Spring Integration
Explain Message in Spring integration.
Message is a generic wrapper for any Java object combined with metadata used by the framework while handling that object. It consists of a payload and headers. The payload can be of any type and the headers hold commonly required information such as id, timestamp, correlation id, and return address.
Headers hold key-value pairs.
More Related questions...