ThrowExceptionService
instead which wils give you a better exception message.@Deprecated @ComponentProfile(summary="Deprecated: use ThrowExceptionService instead", tag="service") public class AlwaysFailService extends ServiceImp
In the adapter configuration file this class is aliased as always-fail-service which is the preferred alternative to the fully qualified classname when building your configuration.
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
AlwaysFailService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeService()
Deprecated.
|
void |
doService(AdaptrisMessage msg)
Deprecated.
Apply the service to the message.
|
protected void |
initService()
Deprecated.
|
void |
prepare()
Deprecated.
Prepare for initialisation.
|
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
sprotected void initService() throws CoreException
initService
in class ServiceImp
CoreException
protected void closeService()
closeService
in class ServiceImp
public void prepare() throws CoreException
ComponentLifecycleExtension
CoreException