JCR

JCR

Scheme: jcr
Syntax: jcr:host/base
Alternative Syntax: jcr:username:password@host/base
Description: The jcr component allows you to add/read nodes to/from a JCR compliant content repository.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-jcr/2.18.1.redhat-000005

The jcr component allows you to add/read nodes to/from a JCR compliant content repository.

Name Kind Group Required Default Type Enum Description
host path common true java.lang.String Name of the {@link javax.jcr.Repository} to lookup from the Camel registry to be used.
base path common java.lang.String Get the base node when accessing the repository @return the base node
deep parameter common boolean When isDeep is true, events whose associated parent node is at absPath or within its subgraph are received. @return deep
eventTypes parameter common int eventTypes (a combination of one or more event types encoded as a bit mask value such as javax.jcr.observation.Event.NODE_ADDED, javax.jcr.observation.Event.NODE_REMOVED, etc.). @return eventTypes @see {@link javax.jcr.observation.Event} @see {@link javax.jcr.observation.ObservationManager#addEventListener(javax.jcr.observation.EventListener, int, String, boolean, String[], String[], boolean)}
nodeTypeNames parameter common java.lang.String When a comma separated nodeTypeName list string is set, only events whose associated parent node has one of the node types (or a subtype of one of the node types) in this list will be received.
noLocal parameter common boolean If noLocal is true, then events generated by the session through which the listener was registered are ignored. Otherwise, they are not ignored. @return noLocal
password parameter common java.lang.String Password for login
sessionLiveCheckInterval parameter common 60000 long Interval in milliseconds to wait before each session live checking The default value is 60000 ms.
sessionLiveCheckIntervalOnStart parameter common 3000 long Interval in milliseconds to wait before the first session live checking. The default value is 3000 ms. @return sessionLiveCheckIntervalOnStart
username parameter common java.lang.String Username for login
uuids parameter common java.lang.String When a comma separated uuid list string is set, only events whose associated parent node has one of the identifiers in the comma separated uuid list will be received. @return comma separated uuid list string
workspaceName parameter common java.lang.String The workspace to access. If it's not specified then the default one will be used
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates 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).

jcr consumer

A {@link org.apache.camel.Consumer} to consume JCR events. $Id$