public class FileNamedConfigMessageListener
extends AbstractMessageListener
Modifier and Type | Field and Description |
---|---|
private ServiceExceptionHandler |
exceptionHandler
ServiceExceptionHandler which handles the exception
|
private JMSHandler |
jmsHandler
Used to get the jms related objects like session, producer etc.
|
private RequestProcessor |
requestProcessor
Request processor object.
|
Constructor and Description |
---|
FileNamedConfigMessageListener(JMSHandler jmsHandler,
ServiceExceptionHandler exceptionHandler)
Creates a Message Listener object.
|
Modifier and Type | Method and Description |
---|---|
protected ServiceExceptionHandler |
getExceptionHandler()
Gets the exception handler.
|
protected java.util.logging.Logger |
getLogger()
Gets the logger
|
protected IRequestProcessor |
getRequestProcessor()
Returns the request processor.
|
protected Session |
getSession()
Gets the session object
|
protected void |
sendResponse(Message message)
Sends the response message after processing the input message.
|
private JMSHandler jmsHandler
private RequestProcessor requestProcessor
private ServiceExceptionHandler exceptionHandler
public FileNamedConfigMessageListener(JMSHandler jmsHandler, ServiceExceptionHandler exceptionHandler)
jmsHandler
- jmshanlder objectexceptionHandler
- used in handling exceptions.protected IRequestProcessor getRequestProcessor()
protected Session getSession()
protected java.util.logging.Logger getLogger()
protected void sendResponse(Message message) throws ServiceExecutionException
message
- output messagecom.fiorano.edbc.framework.service.exception.ServiceExecutionException
- if there is any exception in sending the message.ServiceExecutionException
protected ServiceExceptionHandler getExceptionHandler()