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