public class PgEventConsumer
extends org.apache.camel.impl.DefaultConsumer
implements com.impossibl.postgres.api.jdbc.PGNotificationListener
| Constructor and Description |
|---|
PgEventConsumer(PgEventEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doShutdown() |
protected void |
doStart() |
void |
notification(int processId,
String channel,
String payload) |
createUoW, doneUoW, doStop, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic PgEventConsumer(PgEventEndpoint endpoint, org.apache.camel.Processor processor)
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultConsumerExceptionpublic void notification(int processId,
String channel,
String payload)
notification in interface com.impossibl.postgres.system.NotificationListenerApache Camel