public class LoadBalanceEndpoint extends ListEndpoint
endpoints
Constructor and Description |
---|
LoadBalanceEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
build(org.apache.axiom.om.OMElement elem,
boolean isAnonymous)
Populate this endpoint from the Synapse endpoint configuration.
|
void |
build(org.apache.synapse.endpoints.Template template,
org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
Populate this endpoint from the Synapse endpoint template configuration.
|
String |
getAlgorithmClassName() |
String |
getName() |
String |
getProperties() |
long |
getSessionTimeout() |
String |
getSessionType() |
String |
getTagLocalName()
Get the tag name of the endpoint
|
boolean |
isBuildMessage() |
boolean |
isRetryAvailable() |
org.apache.axiom.om.OMElement |
serialize(org.apache.axiom.om.OMElement parent)
Serialize this endpoint in to the corresponding Synapse endpoint configuration.
|
void |
setAlgorithmClassName(String algorithmClassName) |
void |
setBuildMessage(boolean buildMessage) |
void |
setName(String name) |
void |
setProperties(String properties) |
void |
setSessionTimeout(long sessionTimeout) |
void |
setSessionType(String sessionType) |
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
getEmptyEndpointElement
public String getTagLocalName()
IEndpoint
public String getName()
public void setName(String name)
public String getSessionType()
public void setSessionType(String sessionType)
public long getSessionTimeout()
public void setSessionTimeout(long sessionTimeout)
public String getProperties()
public void setProperties(String properties)
public String getAlgorithmClassName()
public void setAlgorithmClassName(String algorithmClassName)
public boolean isBuildMessage()
public void setBuildMessage(boolean buildMessage)
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
IEndpoint
parent
- if present the serialize node will be added to the parentpublic void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
IEndpoint
elem
- synapse endpoint configurationisAnonymous
- whether the endpoint has a namepublic void build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
IEndpoint
template
- synapse endpoint template configurationfactory
- Template definition factorypublic boolean isRetryAvailable()
isRetryAvailable
in class ListEndpoint
Copyright © 2022 WSO2. All rights reserved.