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