public class RequestProcessor
extends AbstractRequestProcessor
Modifier and Type | Field and Description |
---|---|
private java.util.logging.Logger |
logger
Logger used for logging.
|
Constructor and Description |
---|
RequestProcessor(ESBRecordDefinition schema,
java.util.logging.Logger logger,
IServiceConfiguration serviceConfiguration)
creates an instance of Request Processor.
|
public RequestProcessor(ESBRecordDefinition schema, java.util.logging.Logger logger, IServiceConfiguration serviceConfiguration)
schema
- If there's any schema on the input port to be validated.logger
- logger used for logging.serviceConfiguration
- configuration object.public java.lang.String process(java.lang.String request) throws ServiceExecutionException
request
- request stringServiceExecutionException
- if there is any exception in processing the requestpublic java.lang.Object process(java.lang.Object request) throws ServiceExecutionException
request
- request objectServiceExecutionException
- if there is any exception in processing the request.