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