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