{"id":22477485,"url":"https://github.com/orienteerbap/camel-orientdb","last_synced_at":"2025-10-28T13:09:22.550Z","repository":{"id":57739748,"uuid":"80596606","full_name":"OrienteerBAP/camel-orientdb","owner":"OrienteerBAP","description":"Camel adapter for OrientDB","archived":false,"fork":false,"pushed_at":"2023-04-14T19:31:26.000Z","size":35,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-18T03:16:41.463Z","etag":null,"topics":["adapter","camel","integration","orientdb","orienteer"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OrienteerBAP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-01T06:55:07.000Z","updated_at":"2020-11-17T03:32:27.000Z","dependencies_parsed_at":"2022-09-01T10:51:23.001Z","dependency_job_id":null,"html_url":"https://github.com/OrienteerBAP/camel-orientdb","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/OrienteerBAP/camel-orientdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrienteerBAP%2Fcamel-orientdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrienteerBAP%2Fcamel-orientdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrienteerBAP%2Fcamel-orientdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrienteerBAP%2Fcamel-orientdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OrienteerBAP","download_url":"https://codeload.github.com/OrienteerBAP/camel-orientdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrienteerBAP%2Fcamel-orientdb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adapter","camel","integration","orientdb","orienteer"],"created_at":"2024-12-06T14:11:17.933Z","updated_at":"2025-10-28T13:09:17.512Z","avatar_url":"https://github.com/OrienteerBAP.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camel-orientdb\nCamel component for OrientDB. For Camel since ***2.17.6*** and later.\n\n\n##Maven\n\n\nFor injecting Maven depedency use this code:\n\n```\n\u003cdependency\u003e\n\t\u003cgroupId\u003eorg.orienteer.camel.component\u003c/groupId\u003e\n\t\u003cartifactId\u003ecamel-orientdb\u003c/artifactId\u003e\n\t\u003cversion\u003e1.0-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n##Initialization\n\n\nDB connection variables can be set using CamelContext properties, like \n```\n\tcontext = new DefaultCamelContext();\n\tMap\u003cString, String\u003e properties = context.getProperties();\n\tproperties.put(OrientDBComponent.DB_URL, dbSettings.getDBUrl());\n\tproperties.put(OrientDBComponent.DB_USERNAME, session.getUsername());\n\tproperties.put(OrientDBComponent.DB_PASSWORD, session.getPassword());\n\tcontext.setProperties(properties);\n```\n\nAlso can see http://camel.apache.org/properties.html\n\nDefault properties names is\n\n```\n\tDB_URL=\"orientdb.url\"; \n\tDB_USERNAME=\"orientdb.username\"; \n\tDB_PASSWORD=\"orientdb.password\"; \n```\n \nBut it can be change\n\n\n##URI format\n\n\nThe OrientDB component using following endpoint URI notation\n\n\n```\norientdb:[OrientDBSQLQuery][?options]\n```\n\n\nAnd using OrientDB query format with minor changes:\n\n- Instead ***?***  used ***:#*** for anonymous input parameters. Named parameters using OrientDB notation (:name) \n\nExample:\n```\norientdb:select from testTable where name=:# \n```\n\nSome URIs may not use queryes, only options, like: \n\n```\norientdb:?preload=true\u0026makeNew=true \n```\n\nThis endpoint just load input Map`s and trying to create new objects from them.\n\n\n##Options\n\n\n|Name \t|Kind \t|Group \t|Required \t|Default \t|Type \t|Enum \t|Description|\n|---|---|---|---|---|---|---|---|\n|sqlQuery| \tpath \t|common \t|false \t\t| |java.lang.String | \t\t|Sets the query to execute\n|catalogsLinkAttr| \tparameter| \tcommon| \t|\torienteer.prop.name| \tjava.lang.String |\t\t|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\n|catalogsLinkName| \tparameter| \tcommon| \t|\tname| \tjava.lang.String| \t\t|If you not use \"catalogsLinkAttr\", you can set field name of \"name\" element in catalogs class directly here\n|catalogsUpdate| \tparameter| \tcommon| \t|\ttrue| \tboolean| \t\t|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.\n|classField \t|parameter \t|common|false  \t\t|class \t|java.lang.String | \t\t|Your \"@class\" renamed to classField value\n|fetchAllEmbedded \t|parameter \t|common|false  \t\t|true \t|boolean | \t\t|Fetch all embedded(not linked) objects, ignore \"maxDepth\". Only for \"map\" type.\n|fetchPlan \t|parameter \t|common|false  \t\t\t| |java.lang.String | \t\t|Set fetch plan (view OrientDB documentation, like http://orientdb.com/docs/2.0/orientdb.wiki/Fetching-Strategies.html)\n|maxDepth \t|parameter \t|common|false \t\t|0 \t|int | \t\t|Max fetch depth. Only for \"map\" type\n|outputType \t|parameter \t|common|false  \t\t|map \t|org.orienteer.camel.component.OrientDBCamelDataType |map/object/json/list \t|Output data type of single row.\n|recordIdField \t|parameter \t|common|false \t\t|rid \t|java.lang.String \t\t| |Your \"@rid\" renamed to recordIdField value\n|inputAsOClass \t|parameter \t|consumer|false \t\t| |java.lang.String \t\t| |Rewrite \"@class\" field value in root document(s)\n|makeNew \t|parameter \t|consumer|false  \t\t|true \t|boolean \t\t| |Clear ODocuments RID`s in PRELOAD phase BEFORE save.Works only if ***preload=true***\n|preload \t|parameter \t|consumer|false \t\t|false \t|boolean \t\t| |Trying to save ODocument from input data BEFORE query\n\n\n##Input\n\n\n***NOTE*** All first-level lists split to elements and OrientDBSQLQuery evals for EVERY element. If you need process only one parametrized element, use Map, ODocument or List\u003cList\u003e with one element in\n\n|Type|Transfer to query input as|Can be preloaded|\n|---|---|---|\n|`ODocument`|`Map\u003cString,Object\u003e`|true\n|`Map\u003cString,Object\u003e`|`Map\u003cString,Object\u003e`|true\n|`List\u003cODocument\u003e`|`Map\u003cString,Object\u003e`|true\n|`List\u003cMap\u003cString,Object\u003e\u003e`|`Map\u003cString,Object\u003e`|true\n|`List\u003cObject\u003e`|`Object`|false\n\n\n##Output\n\n\n***NOTE***  All output conversions are recursive, or convert output into flat structures\n\n***IMPORTANT NOTE***  If result of sql query is list and before you sent List\u003cODocument\u003e(as example) to input, then results of all queries will be joined into one big List  \n\n|outputType/query result|ODocument|List\u003cODocument\u003e|Object|\n|---|---|---|---|\n|map|`Map\u003cString,Object\u003e`|`List\u003cMap\u003cString,Object\u003e\u003e`|Object\n|object|`ODocument`|`List\u003cODocument\u003e`|Object\n|json|`(String)OrientDB Json`|`List\u003c(String)OrientDB Json\u003e`|Object\n|list|`List\u003cString\u003e`|`List\u003cList\u003cString\u003e\u003e`|Object\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forienteerbap%2Fcamel-orientdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forienteerbap%2Fcamel-orientdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forienteerbap%2Fcamel-orientdb/lists"}