Represents a PgEvent endpoint.
Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
host | path | java.lang.String | false | localhost | To connect using hostname and port to the database. | ||
port | path | java.lang.Integer | false | 5432 | To connect using hostname and port to the database. | ||
database | path | java.lang.String | true | false | The database name | ||
channel | path | java.lang.String | true | false | The channel name | ||
user | parameter | java.lang.String | false | postgres | Username for login | ||
pass | parameter | java.lang.String | false | Password for login | |||
datasource | parameter | javax.sql.DataSource | false | To connect using the given {@link javax.sql.DataSource} instead of using hostname and port. | |||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | boolean | false | false | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
The PgEvent consumer.