Class AggregateMediator
- java.lang.Object
-
- org.wso2.carbon.mediator.service.ui.AbstractMediator
-
- org.wso2.carbon.mediator.service.ui.AbstractListMediator
-
- org.wso2.carbon.mediator.aggregate.AggregateMediator
-
- All Implemented Interfaces:
org.wso2.carbon.mediator.service.ui.ListMediator
,org.wso2.carbon.mediator.service.ui.Mediator
public class AggregateMediator extends org.wso2.carbon.mediator.service.ui.AbstractListMediator
-
-
Field Summary
Fields Modifier and Type Field Description static String
AGGREGATE_ELEMENT_TYPE_CHILD
Constant for the Aggregate Element Type: childprotected static QName
AGGREGATE_ELEMENT_TYPE_Q
static String
AGGREGATE_ELEMENT_TYPE_ROOT
Constant for the Aggregate Element Type: rootprotected static QName
COMPLETE_CONDITION_Q
protected static QName
CORELATE_ON_Q
protected static QName
MESSAGE_COUNT_Q
protected static QName
ON_COMPLETE_Q
-
Constructor Summary
Constructors Constructor Description AggregateMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(org.apache.axiom.om.OMElement elem)
String
getAggregateElementType()
org.apache.synapse.config.xml.SynapsePath
getAggregationExpression()
long
getCompletionTimeoutSec()
org.apache.synapse.config.xml.SynapsePath
getCorrelateExpression()
String
getEnclosingElementPropertyName()
String
getId()
org.apache.synapse.mediators.Value
getMaxMessagesToComplete()
org.apache.synapse.mediators.Value
getMinMessagesToComplete()
String
getOnCompleteSequenceRef()
String
getTagLocalName()
org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent)
void
setAggregateElementType(String aggregateElementType)
void
setAggregationExpression(org.apache.synapse.config.xml.SynapsePath aggregationExpression)
void
setCompletionTimeoutSec(long completionTimeoutSec)
void
setCorrelateExpression(org.apache.synapse.config.xml.SynapsePath correlateExpression)
void
setEnclosingElementPropertyName(String enclosingElementPropertyName)
void
setId(String id)
void
setMaxMessagesToComplete(org.apache.synapse.mediators.Value maxMessagesToComplete)
void
setMinMessagesToComplete(org.apache.synapse.mediators.Value minMessagesToComplete)
void
setOnCompleteSequenceRef(String onCompleteSequenceRef)
-
Methods inherited from class org.wso2.carbon.mediator.service.ui.AbstractListMediator
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
-
Methods inherited from class org.wso2.carbon.mediator.service.ui.AbstractMediator
collectNameValuePairs, disableStatistics, enableStatistics, getMediatorProperties, getMediatorProperties, getTraceState, isAuditConfigurable, isStatisticsEnable, processAuditStatus, saveTracingState, serializeMediatorProperties, serializeNamespaces, setAuditConfigurable, setTraceState
-
-
-
-
Field Detail
-
AGGREGATE_ELEMENT_TYPE_ROOT
public static final String AGGREGATE_ELEMENT_TYPE_ROOT
Constant for the Aggregate Element Type: root- See Also:
- Constant Field Values
-
AGGREGATE_ELEMENT_TYPE_CHILD
public static final String AGGREGATE_ELEMENT_TYPE_CHILD
Constant for the Aggregate Element Type: child- See Also:
- Constant Field Values
-
CORELATE_ON_Q
protected static final QName CORELATE_ON_Q
-
COMPLETE_CONDITION_Q
protected static final QName COMPLETE_CONDITION_Q
-
MESSAGE_COUNT_Q
protected static final QName MESSAGE_COUNT_Q
-
ON_COMPLETE_Q
protected static final QName ON_COMPLETE_Q
-
AGGREGATE_ELEMENT_TYPE_Q
protected static final QName AGGREGATE_ELEMENT_TYPE_Q
-
-
Method Detail
-
getAggregateElementType
public String getAggregateElementType()
-
setAggregateElementType
public void setAggregateElementType(String aggregateElementType)
-
getEnclosingElementPropertyName
public String getEnclosingElementPropertyName()
-
setEnclosingElementPropertyName
public void setEnclosingElementPropertyName(String enclosingElementPropertyName)
-
getCompletionTimeoutSec
public long getCompletionTimeoutSec()
-
getMinMessagesToComplete
public org.apache.synapse.mediators.Value getMinMessagesToComplete()
-
setMinMessagesToComplete
public void setMinMessagesToComplete(org.apache.synapse.mediators.Value minMessagesToComplete)
-
getMaxMessagesToComplete
public org.apache.synapse.mediators.Value getMaxMessagesToComplete()
-
setMaxMessagesToComplete
public void setMaxMessagesToComplete(org.apache.synapse.mediators.Value maxMessagesToComplete)
-
setCompletionTimeoutSec
public void setCompletionTimeoutSec(long completionTimeoutSec)
-
getCorrelateExpression
public org.apache.synapse.config.xml.SynapsePath getCorrelateExpression()
-
setCorrelateExpression
public void setCorrelateExpression(org.apache.synapse.config.xml.SynapsePath correlateExpression)
-
getAggregationExpression
public org.apache.synapse.config.xml.SynapsePath getAggregationExpression()
-
setAggregationExpression
public void setAggregationExpression(org.apache.synapse.config.xml.SynapsePath aggregationExpression)
-
getOnCompleteSequenceRef
public String getOnCompleteSequenceRef()
-
setOnCompleteSequenceRef
public void setOnCompleteSequenceRef(String onCompleteSequenceRef)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getTagLocalName
public String getTagLocalName()
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
-
build
public void build(org.apache.axiom.om.OMElement elem)
-
-