@ComponentProfile(summary="Perform a synchronous request operation, storing the reply in the message", tag="service") public class StandaloneRequestor extends StandaloneProducer
In the adapter configuration file this class is aliased as standalone-requestor which is the preferred alternative to the fully qualified classname when building your configuration.
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
StandaloneRequestor() |
StandaloneRequestor(AdaptrisConnection c,
AdaptrisMessageProducer p) |
StandaloneRequestor(AdaptrisConnection c,
AdaptrisMessageProducer p,
TimeInterval timeout) |
StandaloneRequestor(AdaptrisMessageProducer p) |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage m)
Apply the service to the message.
|
TimeInterval |
getReplyTimeout() |
void |
setReplyTimeout(TimeInterval timeoutOverride)
Set the timeout override for this request.
|
closeService, createName, createQualifier, getConnection, getProducer, initService, prepare, produce, produce, setConnection, setProducer, start, stop
changeState, close, continueOnFailure, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, isBranching, setUniqueId
isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
public StandaloneRequestor()
public StandaloneRequestor(AdaptrisMessageProducer p)
public StandaloneRequestor(AdaptrisConnection c, AdaptrisMessageProducer p)
public StandaloneRequestor(AdaptrisConnection c, AdaptrisMessageProducer p, TimeInterval timeout)
public void doService(AdaptrisMessage m) throws ServiceException
Service
Apply the service to the message.
doService
in interface Service
doService
in class StandaloneProducer
m
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
s#doService(com.adaptris.core.AdaptrisMessage)
public TimeInterval getReplyTimeout()
public void setReplyTimeout(TimeInterval timeoutOverride)
timeoutOverride
- the override, default is -1, which will use the underlying producers default timeout.