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