Interface NatsMessageListener
- All Known Implementing Classes:
CoreListener,StreamingListener
public interface NatsMessageListener
The interface which defines behaviour of a core NATS or NATS streaming connection.
-
Method Summary
-
Method Details
-
createConnection
- Throws:
IOExceptionInterruptedException
-
initializeConsumer
void initializeConsumer(String sequenceName) throws InterruptedException, IOException, TimeoutException -
closeConnection
void closeConnection()
-