Constructor and Description |
---|
ChildMessage(Message parentMessage,
BindingTypeEnum bindingType,
ServiceExtEnum service,
String operationName,
String body,
String objectId,
EntityTypeExtEnum entityType,
String funnelValue)
Creates child message with specified binding type to parent message.
|
ChildMessage(Message parentMessage,
ServiceExtEnum service,
String operationName,
String body)
Creates child message with
HARD binding type to parent message. |
Modifier and Type | Method and Description |
---|---|
static Message |
createMessage(ChildMessage childMsg)
Converts
ChildMessage into a full Message that can be persisted or processed. |
BindingTypeEnum |
getBindingType() |
String |
getBody() |
EntityTypeExtEnum |
getEntityType() |
String |
getFunnelValue() |
String |
getObjectId() |
String |
getOperationName() |
Message |
getParentMessage() |
ServiceExtEnum |
getService() |
String |
toString() |
public ChildMessage(Message parentMessage, BindingTypeEnum bindingType, ServiceExtEnum service, String operationName, String body, @Nullable String objectId, @Nullable EntityTypeExtEnum entityType, @Nullable String funnelValue)
parentMessage
- the parent messagebindingType
- the binding type to parent messageservice
- the service name, e.g. customeroperationName
- the operation name, e.g. createCustomerbody
- the new message (XML) bodyobjectId
- the object ID that will be changed during message processing.
This parameter serves for finding messages in the queue which deals with identical object.entityType
- the type of the entity that is being changed.
This parameter serves for finding messages in the queue which deals with identical object,
see Message.getEntityTypeInternal()
for more detailsfunnelValue
- the funnel valuepublic ChildMessage(Message parentMessage, ServiceExtEnum service, String operationName, String body)
HARD
binding type to parent message.parentMessage
- the parent messageservice
- the service name, e.g. customer.operationName
- the operation name, e.g. createCustomer.body
- the new message (XML) bodypublic static Message createMessage(ChildMessage childMsg)
ChildMessage
into a full Message
that can be persisted or processed.childMsg
- the child message infogetParentMessage()
public Message getParentMessage()
public BindingTypeEnum getBindingType()
public ServiceExtEnum getService()
public String getOperationName()
@Nullable public EntityTypeExtEnum getEntityType()
public String getBody()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.