- Type Parameters:
R- return value at the end of the write process.
- All Known Subinterfaces:
MessageWriter<CEV,R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to write the
MessageReader content (CloudEvents attributes, extensions and payload) to a new representation structured representation.-
Method Summary
Modifier and TypeMethodDescriptionsetEvent(EventFormat format, byte[] value) Write an event using the providedEventFormat.
-
Method Details
-
setEvent
Write an event using the providedEventFormat.- Throws:
io.cloudevents.rw.CloudEventRWException
-