public class FailoverEndpoint extends ListEndpoint
endpoints
Constructor and Description |
---|
FailoverEndpoint() |
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 |
getName() |
String |
getProperties() |
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 |
setBuildMessage(boolean buildMessage) |
void |
setName(String name) |
void |
setProperties(String properties) |
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
getEmptyEndpointElement
public String getTagLocalName()
IEndpoint
public String getName()
public void setName(String name)
public String getProperties()
public void setProperties(String properties)
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.