OrientDB

OrientDB

Scheme: orientdb
Syntax: orientdb:sqlQuery
Description: Camel component for OrientDB.
Deprecated:false
Maven: org.orienteer.camel.component/camel-orientdb/1.0

Camel component for OrientDB.

Name Kind Group Required Default Type Enum Description
sqlQuery path common false java.lang.String Sets the query to execute
catalogsLinkAttr parameter common orienteer.prop.name java.lang.String Name of your custom attribute, linked to catalog class and containing name of field in this class, associated to name of element of this class
catalogsLinkName parameter common name java.lang.String If you not use "catalogsLinkAttr", you can set field name of "name" element in catalogs class directly here
catalogsUpdate parameter common true boolean If you set "catalogsLinkAttr" or "catalogsLinkName", catalogs may be autoupdated, if "catalogsUpdate" = true. If is that - in catalogs classes may be created empty elements with new "name" field values.
classField parameter common class java.lang.String Your "@class" renamed to classField value
fetchAllEmbedded parameter common true boolean Fetch all embedded(not linked) objects, ignore "maxDepth". Only for "map" type.
fetchPlan parameter common java.lang.String Set fetch plan (view orientdb documentation, like http://orientdb.com/docs/2.0/orientdb.wiki/Fetching-Strategies.html)
maxDepth parameter common 0 int Max fetch depth. Only for "map" type
outputType parameter common map org.orienteer.camel.component.OrientDBCamelDataType map
object
json
list
Output data type of single row.
recordIdField parameter common rid java.lang.String Your "@rid" renamed to recordIdField value
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.
inputAsOClass parameter consumer java.lang.String Rewrite "@class" field value in root document(s)
makeNew parameter consumer true boolean Clear ODocuments RID`s in PRELOAD phase BEFORE save
preload parameter consumer false boolean Save ODocument from input data BEFORE query
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 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).