Interface OutgoingCloudEventMetadata<T>
- 
- Type Parameters:
 T- the data type
- All Superinterfaces:
 CloudEventMetadata<T>
- All Known Implementing Classes:
 DefaultOutgoingCloudEventMetadata
public interface OutgoingCloudEventMetadata<T> extends CloudEventMetadata<T>
Represents the Cloud Event metadata for an outgoing message. The connector dispatching the message, if this connector supports Cloud Event, should write the outgoing message as a Cloud Event using the attribute set in this metadata. See https://github.com/cloudevents/spec/blob/master/spec.md. 
- 
- 
Field Summary
- 
Fields inherited from interface io.smallrye.reactive.messaging.ce.CloudEventMetadata
CE_ATTRIBUTE_DATA_CONTENT_TYPE, CE_ATTRIBUTE_DATA_SCHEMA, CE_ATTRIBUTE_ID, CE_ATTRIBUTE_SOURCE, CE_ATTRIBUTE_SPEC_VERSION, CE_ATTRIBUTE_SUBJECT, CE_ATTRIBUTE_TIME, CE_ATTRIBUTE_TYPE, CE_VERSION_1_0 
 - 
 
- 
Method Summary
Static Methods Modifier and Type Method Description static <T> OutgoingCloudEventMetadataBuilder<T>builder()Gets a builder to create a newOutgoingCloudEventMetadata.static <T> OutgoingCloudEventMetadataBuilder<T>from(OutgoingCloudEventMetadata<T> existing)Gets a builder to create a newOutgoingCloudEventMetadata.- 
Methods inherited from interface io.smallrye.reactive.messaging.ce.CloudEventMetadata
getData, getDataContentType, getDataSchema, getExtension, getExtensions, getId, getSource, getSpecVersion, getSubject, getTimeStamp, getType 
 - 
 
 - 
 
- 
- 
Method Detail
- 
builder
static <T> OutgoingCloudEventMetadataBuilder<T> builder()
Gets a builder to create a newOutgoingCloudEventMetadata.- Type Parameters:
 T- the type of data- Returns:
 - the builder
 
 
- 
from
static <T> OutgoingCloudEventMetadataBuilder<T> from(OutgoingCloudEventMetadata<T> existing)
Gets a builder to create a newOutgoingCloudEventMetadata. The values are copied from the given existingOutgoingCloudEventMetadata- Type Parameters:
 T- the type of data- Returns:
 - the builder
 
 
 - 
 
 -