Class PgEventConsumer.PgEventListener
java.lang.Object
org.apache.camel.component.pgevent.PgEventConsumer.PgEventListener
- All Implemented Interfaces:
com.impossibl.postgres.api.jdbc.PGNotificationListener
- Enclosing class:
PgEventConsumer
public class PgEventConsumer.PgEventListener
extends Object
implements com.impossibl.postgres.api.jdbc.PGNotificationListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclosed()voidvoidnotification(int processId, String channel, String payload) void
-
Constructor Details
-
PgEventListener
public PgEventListener()
-
-
Method Details
-
reconnect
public void reconnect() -
initConnection
- Throws:
Exception
-
closeConnection
- Throws:
Exception
-
notification
- Specified by:
notificationin interfacecom.impossibl.postgres.api.jdbc.PGNotificationListener
-
closed
public void closed()- Specified by:
closedin interfacecom.impossibl.postgres.api.jdbc.PGNotificationListener
-