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