Package org.apache.ofbiz.service.jms
Interface GenericMessageListener
-
- All Superinterfaces:
javax.jms.MessageListener
- All Known Implementing Classes:
AbstractJmsListener
,JmsQueueListener
,JmsTopicListener
public interface GenericMessageListener extends javax.jms.MessageListener
GenericMessageListener - Estension to MessageListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Shutdown the listener and all connection(s).boolean
isConnected()
Indicator if a connection is present.void
load()
Start the listener and all connection(s).void
refresh()
Refresh the connection.
-
-
-
Method Detail
-
close
void close() throws GenericServiceException
Shutdown the listener and all connection(s).- Throws:
GenericServiceException
-
load
void load() throws GenericServiceException
Start the listener and all connection(s).- Throws:
GenericServiceException
-
refresh
void refresh() throws GenericServiceException
Refresh the connection.- Throws:
GenericServiceException
-
isConnected
boolean isConnected()
Indicator if a connection is present.- Returns:
- true if connectio is present.
-
-