Interface IMessage
Represents a message flowing through the route pipeline.
Contains payload (Body), metadata (Headers), and supports both
C# idiomatic properties and Java-style methods for backward compatibility.
public interface IMessage
Properties
Attachments
Attachments of this message (Apache Camel's AttachmentMessage): named content beside the body, such as the
IMessageAttachments Attachments { get; }
ContentType
MIME content type of the message body (e.g. "application/json").
string? ContentType { get; set; }
Headers
Headers that travel with the message (ContentType, CorrelationId, custom).
IDictionary<string, object?> Headers { get; }