Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For sending to the endpoint, the entityClassName is optional. If specified it is used to help use the Type ConversionConverter to ensure the body is of the correct type.

...

Name

Default Value

Description

entityType

entityClassName

Is the provided entityClassName from the URI

persistenceUnit

camel

the JPA persistence unit used by default

consumeDelete

true

Option for JpaConsumer only. Enables / disables whether or not the entity is deleted after it is consumed.

consumeLockEntity

true

Option for JpaConsumer only. Enables / disables whether or not to use exclusive locking of each entity while processing the results from the pooling.

flushOnSend

true

Option for JpaProducer only. Flushes the EntityManager after the entity beans has been persisted.

maximumResults

-1

Option for JpaConsumer only. Set the maximum number of results to retrieve on the Query.

consumer.delay

500

Option for JpaConsumer only. Delay in millis between each poll.

consumer.initialDelay

1000

Option for JpaConsumer only. Millis before polling starts.

consumer.userFixedDelay

false

Option for JpaConsumer only. true to use fixed delay between pools, otherwise fixed rate is used. See ScheduledExecutorService in JDK for details.

Example

See Tracer Example for an example using JPA to store traced messages into a database.

Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also