@Beta public class ProductionOrderChangedMessageFactory extends Object implements MessageFactory<ProductionOrderChangedMessage>
MessageFactory
interface to encapsulate the create of a
ProductionOrderChangedMessage
.Constructor and Description |
---|
ProductionOrderChangedMessageFactory() |
Modifier and Type | Method and Description |
---|---|
ProductionOrderChangedMessage |
newMessage(MessageTopic messageTopic,
String content)
Creates a new
ProductionOrderChangedMessage with the content of the message content/payload. |
public ProductionOrderChangedMessageFactory()
@Nonnull public ProductionOrderChangedMessage newMessage(@Nonnull MessageTopic messageTopic, @Nonnull String content)
ProductionOrderChangedMessage
with the content of the message content/payload.newMessage
in interface MessageFactory<ProductionOrderChangedMessage>
messageTopic
- The topic the content was received for.content
- The content/payload of the message.Copyright © 2019 SAP SE. All rights reserved.