{"id":20173261,"url":"https://github.com/teedjay/quarkus-camel","last_synced_at":"2026-01-24T09:32:01.551Z","repository":{"id":73156897,"uuid":"228171992","full_name":"teedjay/quarkus-camel","owner":"teedjay","description":"Creating testable Camel routes with Quarkus","archived":false,"fork":false,"pushed_at":"2024-11-18T20:09:34.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T20:51:08.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teedjay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-15T11:18:34.000Z","updated_at":"2020-04-06T13:42:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"22107b98-a14c-461e-bc38-2cae610f7eef","html_url":"https://github.com/teedjay/quarkus-camel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teedjay/quarkus-camel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-camel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-camel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-camel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-camel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teedjay","download_url":"https://codeload.github.com/teedjay/quarkus-camel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-camel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T01:34:33.287Z","updated_at":"2026-01-24T09:32:01.533Z","avatar_url":"https://github.com/teedjay.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quarkus-camel\nCreating and testing Camel routes with Quarkus.\n\nSome components are from Quarkus Camel :\n- [x] file\n- [x] aws-s3\n- [x] http-platform (http://localhost:8080/camel/input)\n- [x] timer\n- [x] direct\n- [x] seda\n- [x] log\n- [x] controlbus\n- [x] bean\n- [x] jdbc\n\nAdditional components from regular Camel 3 :\n- [x] file-watch\n- [x] mock\n\nOther stuff that are tested :\n- [x] custom @QuarkusTestResource\n- [ ] inject TestContainers using @QuarkusTestResource\n\n\n## Pre-requisite 1 (S3 server and Postgres)\nYou need a Java 11 and Maven 3.6.2 to run this.\nYou need to start S3 server (Minio) and PostgreSQL database before running like this :\n```\ncd docker\ndocker-compose up -d\n```\nAccess Minio at : http://localhost:9000/minio/teedjay-bucket/\n\n## Pre-requisite 2 (Postgres with Debezium)\nYou need to manually start and configure a separate Postgres 12 database\nfor Debezium usage.  This database should have a test table with some\ndata in it.\n\n```\ndocker start postgres-debezium\n```\n\nFollow the commands below to start and cofigure postgres-debezium the first time (only once).\n```\ndocker run --name postgres-debezium -p 5433:5432 -e POSTGRES_PASSWORD=postgres -d postgres:12\n\n# https://github.com/debezium/debezium-examples/tree/master/auditlog\n# docker exec -it postgres-debezium /bin/bash\n\n(1) connect to postgres\ndocker exec -it postgres-debezium psql -U postgres\n\ncreate table users\n(\nid serial not null constraint users_pk primary key,\nusername text,\nconfig jsonb\n);\n\ninsert into users(username, config) values ('ola', '{}');\ninsert into users(username, config) values ('bola', '{}');\ninsert into users(username, config) values ('jola', '{}');\n\nalter table users owner to postgres;\n\nALTER SYSTEM SET wal_level = logical;\nSHOW wal_level;\n\n(2)\nFor wal level change to work, exit the psql and restart docker\ndocker restart postgres-debezium\n\n(3) connect back to postgres and assert that wal_level is correct\ndocker exec -it postgres-debezium psql -U postgres\nSHOW wal_level;\n\n(3)\nAlso show old value\nALTER TABLE users REPLICA IDENTITY FULL;\n\nThere are 4 possible values for REPLICA IDENTITY:\nDEFAULT - UPDATE and DELETE events will only contain the previous values for the primary key columns of a table\nNOTHING - UPDATE and DELETE events will not contain any information about the previous value on any of the table columns\nFULL - UPDATE and DELETE events will contain the previous values of all the table’s columns\nINDEX index name - UPDATE and DELETE events will contains the previous values of the columns contained in the index definition named index name\n```\n\n## Start in Quarkus dev mode\n```\nmvn clean quarkus:dev\n```\n\n## Metrics\nYou get application metrics out of the box\n```\nhttp://localhost:8080/metrics/application\n```\n\n## Camel Health\nYou get Readyness and Liveness probes out of the box from `http://localhost:8080/health`.\n```\n{\n    \"status\": \"UP\",\n    \"checks\": [\n        {\n            \"name\": \"camel\",\n            \"status\": \"UP\",\n            \"data\": {\n                \"contextStatus\": \"Started\",\n                \"name\": \"camel-1\"\n            }\n        },\n        {\n            \"name\": \"camel-liveness-checks\",\n            \"status\": \"UP\",\n            \"data\": {\n                \"route:route3\": \"UP\",\n                \"route:route2\": \"UP\",\n                \"route:route1\": \"UP\"\n            }\n        },\n        {\n            \"name\": \"camel\",\n            \"status\": \"UP\",\n            \"data\": {\n                \"contextStatus\": \"Started\",\n                \"name\": \"camel-1\"\n            }\n        },\n        {\n            \"name\": \"camel-readiness-checks\",\n            \"status\": \"UP\",\n            \"data\": {\n                \"route:route3\": \"UP\",\n                \"route:route2\": \"UP\",\n                \"route:route1\": \"UP\"\n            }\n        }\n    ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fquarkus-camel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteedjay%2Fquarkus-camel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fquarkus-camel/lists"}