public class JMSHandler
extends AbstractJMSHandler
Constructor and Description |
---|
JMSHandler(InputPortHandler inportHandler,
int index,
Connection connection,
IServiceConfiguration serviceConfiguration,
ServiceExceptionHandler exceptionHandler)
Creates a JMSHandler object which is used in creating the JMS objects like Session, MessageProducer,
MessageConsumer etc to start the service.
|
Modifier and Type | Method and Description |
---|---|
protected MessageListener |
createMessageListener(ServiceExceptionHandler serviceExceptionHandler) |
public JMSHandler(InputPortHandler inportHandler, int index, Connection connection, IServiceConfiguration serviceConfiguration, ServiceExceptionHandler exceptionHandler) throws JMSException, javax.naming.NamingException
inportHandler
- InputPortHandler objectindex
- sessionIndex of an input portconnection
- connection objectserviceConfiguration
- service configuration objectexceptionHandler
- used to handle exceptions.JMSException
- if the JMSProvider fails to create JMS objects due to some internal errorjavax.naming.NamingException
- if a naming exception is encountered