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