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