public class ByThreadStrategy extends AbstractXmlElement implements DispatchingStrategy
| Constructor and Description |
|---|
ByThreadStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Node |
dispatch(LoadBalancingInterceptor interceptor) |
void |
done(AbstractExchange exc) |
protected String |
getElementName() |
int |
getMaxNumberOfThreadsPerEndpoint() |
int |
getRetryTimeOnBusy() |
protected void |
parseAttributes(XMLStreamReader token) |
void |
setMaxNumberOfThreadsPerEndpoint(int maxNumberOfThreadsPerEndpoint) |
void |
setRetryTimeOnBusy(int retryTimeOnBusy) |
void |
write(XMLStreamWriter out) |
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNullpublic void done(AbstractExchange exc)
done in interface DispatchingStrategypublic Node dispatch(LoadBalancingInterceptor interceptor)
dispatch in interface DispatchingStrategypublic void setMaxNumberOfThreadsPerEndpoint(int maxNumberOfThreadsPerEndpoint)
public void setRetryTimeOnBusy(int retryTimeOnBusy)
public int getMaxNumberOfThreadsPerEndpoint()
public int getRetryTimeOnBusy()
public void write(XMLStreamWriter out) throws XMLStreamException
write in interface XMLElementwrite in class AbstractXmlElementXMLStreamExceptionprotected void parseAttributes(XMLStreamReader token)
parseAttributes in class AbstractXmlElementprotected String getElementName()
getElementName in class AbstractXmlElementCopyright © 2012. All Rights Reserved.