public class MessageProcessorCall extends Object
The representation of a Message Processor call
| Constructor and Description |
|---|
MessageProcessorCall(MessageProcessorId messageProcessorId) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes() |
org.mule.api.construct.FlowConstruct |
getFlowConstruct() |
MessageProcessorId |
getMessageProcessorId() |
boolean |
isCallOf(MessageProcessorId id)
Defines if this call is of a particular message processor
|
int |
matchingWeight(MessageProcessorCall call)
If the current call matches exactly with the call sent by parameter.
|
void |
setAttributes(Map<String,Object> attributes) |
void |
setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct) |
public MessageProcessorCall(MessageProcessorId messageProcessorId)
public MessageProcessorId getMessageProcessorId()
public boolean isCallOf(MessageProcessorId id)
Defines if this call is of a particular message processor
id - The id of the message processor
public int matchingWeight(MessageProcessorCall call)
If the current call matches exactly with the call sent by parameter. Then it returns the number of attributes of the current call, else returns -1
call - The Message processor call that we need to compare to.public void setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct)
public org.mule.api.construct.FlowConstruct getFlowConstruct()
Copyright © 2017. All rights reserved.