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 Details

    • PgEventListener

      public PgEventListener()
  • Method Details

    • reconnect

      public void reconnect()
    • initConnection

      public void initConnection() throws Exception
      Throws:
      Exception
    • closeConnection

      public void closeConnection() throws Exception
      Throws:
      Exception
    • notification

      public void notification(int processId, String channel, String payload)
      Specified by:
      notification in interface com.impossibl.postgres.api.jdbc.PGNotificationListener
    • closed

      public void closed()
      Specified by:
      closed in interface com.impossibl.postgres.api.jdbc.PGNotificationListener