@Beta public class OutboundDeliveryCreatedMessageFactory extends Object implements MessageFactory<OutboundDeliveryCreatedMessage>
MessageFactory
interface to encapsulate the creation of a
OutboundDeliveryCreatedMessage
.Constructor and Description |
---|
OutboundDeliveryCreatedMessageFactory() |
Modifier and Type | Method and Description |
---|---|
OutboundDeliveryCreatedMessage |
newMessage(String content)
Creates a new
OutboundDeliveryCreatedMessage with the content of the message content/payload. |
public OutboundDeliveryCreatedMessageFactory()
@Nonnull public OutboundDeliveryCreatedMessage newMessage(@Nonnull String content)
OutboundDeliveryCreatedMessage
with the content of the message content/payload.newMessage
in interface MessageFactory<OutboundDeliveryCreatedMessage>
content
- The content/payload of the message.Copyright © 2019 SAP SE. All rights reserved.