{"_id":"@alt-javascript/boot-camel-lite-starter","_rev":"3-a12bb97033c72f135436f5856a2592d2","name":"@alt-javascript/boot-camel-lite-starter","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.2":{"name":"@alt-javascript/boot-camel-lite-starter","version":"1.0.2","keywords":["alt-javascript","camel","camel-lite","eai","eip","integration","boot","starter","cdi","dependency-injection","autoconfigure"],"author":{"name":"Craig Parravicini"},"_id":"@alt-javascript/boot-camel-lite-starter@1.0.2","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"},{"name":"Apache Camel — design inspiration and pattern source"}],"homepage":"https://github.com/alt-javascript/camel-lite#readme","bugs":{"url":"https://github.com/alt-javascript/camel-lite/issues"},"dist":{"shasum":"50545386afefbeb1d2bf491b990e1874afe3f5c6","tarball":"https://registry.npmjs.org/@alt-javascript/boot-camel-lite-starter/-/boot-camel-lite-starter-1.0.2.tgz","fileCount":5,"integrity":"sha512-odvuUzpFyqVH0mdtztLjnlNMYJFMYuGxqaMx3l0vmIcwdA3kZmYAb+nbULLyLDvsxKgZRER3vy2rKYup3n1IDw==","signatures":[{"sig":"MEUCIQD9kxRYsDKt1cT4nBub1sF3vuaLVxVwz4eJUlLff+HoIQIgDj4NUgDLionS56EgvF/It4n7vHa49jx672MYUctYrC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alt-javascript%2fboot-camel-lite-starter@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27534},"type":"module","exports":{".":"./index.js"},"gitHead":"9f948b9f02d85c9f593229684c475cd209369f2c","scripts":{"test":"node --test"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/camel-lite.git","type":"git"},"_npmVersion":"11.9.0","description":"`@alt-javascript/boot` CDI auto-configuration for camel-lite core plus the eight most common components: `direct`, `seda`, `log`, `file`, `http`, `ftp`, `timer`, and `cron`.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@alt-javascript/cdi":"^3.0.7","@alt-javascript/boot":"^3.0.7","@alt-javascript/common":"^3.0.7","@alt-javascript/config":"^3.0.7","@alt-javascript/logger":"^3.0.7","@alt-javascript/camel-lite-core":"1.0.2","@alt-javascript/camel-lite-component-ftp":"1.0.2","@alt-javascript/camel-lite-component-log":"1.0.2","@alt-javascript/camel-lite-component-cron":"1.0.2","@alt-javascript/camel-lite-component-file":"1.0.2","@alt-javascript/camel-lite-component-http":"1.0.2","@alt-javascript/camel-lite-component-seda":"1.0.2","@alt-javascript/camel-lite-component-timer":"1.0.2","@alt-javascript/camel-lite-component-direct":"1.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boot-camel-lite-starter_1.0.2_1774595581829_0.0010939565671947982","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@alt-javascript/boot-camel-lite-starter","version":"1.1.0","keywords":["alt-javascript","camel","camel-lite","eai","eip","integration","boot","starter","cdi","dependency-injection","autoconfigure"],"author":{"name":"Craig Parravicini"},"_id":"@alt-javascript/boot-camel-lite-starter@1.1.0","maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"contributors":[{"url":"Anthropic","name":"Claude"}],"homepage":"https://github.com/alt-javascript/camel-lite#readme","bugs":{"url":"https://github.com/alt-javascript/camel-lite/issues"},"dist":{"shasum":"14b89d11685aa66765919177772c02cd5e959a30","tarball":"https://registry.npmjs.org/@alt-javascript/boot-camel-lite-starter/-/boot-camel-lite-starter-1.1.0.tgz","fileCount":5,"integrity":"sha512-pZBAcqLt3ytdv2VFNb3t0gzcuE8AIJGLJNKXbXvImnPOTI9MyJvT9e0XcoZrnW0GlDdS1wQECDP3HSffUKn/2A==","signatures":[{"sig":"MEQCIBR4bFnBnkLLO7Lq7wXY3SVPk69K3e4g+uI4+ai7dbfXAiB8lViibzv/so4K9si8wesDwu11BIhYDtlotJfuPHUpIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alt-javascript%2fboot-camel-lite-starter@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27472},"type":"module","exports":{".":"./index.js"},"gitHead":"c227a03632d4b1e2f93b4562c7e74f52ba87d340","scripts":{"test":"node --test"},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"repository":{"url":"git+https://github.com/alt-javascript/camel-lite.git","type":"git"},"_npmVersion":"11.9.0","description":"`@alt-javascript/boot` CDI auto-configuration for camel-lite core plus the eight most common components: `direct`, `seda`, `log`, `file`, `http`, `ftp`, `timer`, and `cron`.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@alt-javascript/cdi":"^3.0.7","@alt-javascript/boot":"^3.0.7","@alt-javascript/common":"^3.0.7","@alt-javascript/config":"^3.0.7","@alt-javascript/logger":"^3.0.7","@alt-javascript/camel-lite-core":"1.1.0","@alt-javascript/camel-lite-component-ftp":"1.1.0","@alt-javascript/camel-lite-component-log":"1.1.0","@alt-javascript/camel-lite-component-cron":"1.1.0","@alt-javascript/camel-lite-component-file":"1.1.0","@alt-javascript/camel-lite-component-http":"1.1.0","@alt-javascript/camel-lite-component-seda":"1.1.0","@alt-javascript/camel-lite-component-timer":"1.1.0","@alt-javascript/camel-lite-component-direct":"1.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/boot-camel-lite-starter_1.1.0_1774763488608_0.5865690545750057","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@alt-javascript/boot-camel-lite-starter","version":"1.1.1","type":"module","exports":{".":"./index.js"},"dependencies":{"@alt-javascript/boot":"^3.0.7","@alt-javascript/cdi":"^3.0.7","@alt-javascript/config":"^3.0.7","@alt-javascript/logger":"^3.0.7","@alt-javascript/common":"^3.0.7","@alt-javascript/camel-lite-core":"1.1.1","@alt-javascript/camel-lite-component-direct":"1.1.1","@alt-javascript/camel-lite-component-seda":"1.1.1","@alt-javascript/camel-lite-component-log":"1.1.1","@alt-javascript/camel-lite-component-file":"1.1.1","@alt-javascript/camel-lite-component-http":"1.1.1","@alt-javascript/camel-lite-component-ftp":"1.1.1","@alt-javascript/camel-lite-component-timer":"1.1.1","@alt-javascript/camel-lite-component-cron":"1.1.1"},"scripts":{"test":"node --test"},"repository":{"type":"git","url":"git+https://github.com/alt-javascript/camel-lite.git"},"author":{"name":"Craig Parravicini"},"contributors":[{"name":"Claude","url":"Anthropic"}],"keywords":["alt-javascript","camel","camel-lite","eai","eip","integration","boot","starter","cdi","dependency-injection","autoconfigure"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"gitHead":"ff8501eed381d38ac20f56aea721274466d64212","_id":"@alt-javascript/boot-camel-lite-starter@1.1.1","description":"`@alt-javascript/boot` CDI auto-configuration for camel-lite core plus the eight most common components: `direct`, `seda`, `log`, `file`, `http`, `ftp`, `timer`, and `cron`.","bugs":{"url":"https://github.com/alt-javascript/camel-lite/issues"},"homepage":"https://github.com/alt-javascript/camel-lite#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-fzUSkq/v/KKkfR/kmsybe6TcBvyu9DzYgJ9jcEt/IJjTzMJN0X2DLr/BP51vF1RloDQOrQ3LQ0vv/8c18Ihf1w==","shasum":"e05adf3c7d2e031d3c5df508bf1e5a80ee00f241","tarball":"https://registry.npmjs.org/@alt-javascript/boot-camel-lite-starter/-/boot-camel-lite-starter-1.1.1.tgz","fileCount":5,"unpackedSize":27472,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alt-javascript%2fboot-camel-lite-starter@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCMDqOTM6ELWGlrMFcPvYmj5RxEoeqnPd31foFuMZWkxgIgaLt2M1HsWsv8k+UBg8EhMK0PWRm6DmrV1VzvsEDSC0M="}]},"_npmUser":{"name":"craigparra","email":"craigparra@gmail.com"},"directories":{},"maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/boot-camel-lite-starter_1.1.1_1774764444845_0.9660037348232138"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-27T07:13:01.775Z","modified":"2026-03-29T06:07:25.336Z","1.0.2":"2026-03-27T07:13:01.971Z","1.1.0":"2026-03-29T05:51:28.768Z","1.1.1":"2026-03-29T06:07:25.013Z"},"bugs":{"url":"https://github.com/alt-javascript/camel-lite/issues"},"author":{"name":"Craig Parravicini"},"homepage":"https://github.com/alt-javascript/camel-lite#readme","keywords":["alt-javascript","camel","camel-lite","eai","eip","integration","boot","starter","cdi","dependency-injection","autoconfigure"],"repository":{"type":"git","url":"git+https://github.com/alt-javascript/camel-lite.git"},"description":"`@alt-javascript/boot` CDI auto-configuration for camel-lite core plus the eight most common components: `direct`, `seda`, `log`, `file`, `http`, `ftp`, `timer`, and `cron`.","contributors":[{"name":"Claude","url":"Anthropic"}],"maintainers":[{"name":"craigparra","email":"craigparra@gmail.com"}],"readme":"# boot-camel-lite-starter\n\n`@alt-javascript/boot` CDI auto-configuration for camel-lite core plus the eight most common components: `direct`, `seda`, `log`, `file`, `http`, `ftp`, `timer`, and `cron`.\n\n## Install\n\n```sh\nnpm install boot-camel-lite-starter @alt-javascript/boot @alt-javascript/cdi @alt-javascript/config\n```\n\n## CDI Beans Registered\n\n| Bean name | Type | Description |\n|-----------|------|-------------|\n| `camelLiteContext` | `CamelContext` | The running Camel context |\n| `routeRegistry` | `RouteRegistry` | Scans config + CDI for routes and loads them into the context |\n| `camelComponent.direct` | `DirectComponent` | `direct:` scheme |\n| `camelComponent.seda` | `SedaComponent` | `seda:` scheme |\n| `camelComponent.log` | `LogComponent` | `log:` scheme |\n| `camelComponent.file` | `FileComponent` | `file:` scheme |\n| `camelComponent.http` | `HttpComponent` | `http:`/`https:` scheme (producer only) |\n| `camelComponent.ftp` | `FtpComponent` | `ftp:` scheme |\n| `camelComponent.timer` | `TimerComponent` | `timer:` scheme |\n| `camelComponent.cron` | `CronComponent` | `cron:` scheme |\n| `camelProducerTemplate` | `ProducerTemplate` | Send messages programmatically |\n| `camelConsumerTemplate` | `ConsumerTemplate` | Poll endpoints programmatically |\n\n## Configuration\n\nAll keys are nested under `boot.camel-lite`.\n\n| Key | Type | Default | Description |\n|-----|------|---------|-------------|\n| `boot.camel-lite.<scheme>.enabled` | boolean | `true` | Set to `false` to skip registering that component bean |\n| `boot.camel-lite.routes[n].definition` | object | — | An already-parsed route definition object (equivalent to a parsed YAML route file) |\n\n### Config route definition example\n\n```yaml\nboot:\n  camel-lite:\n    routes:\n      - definition:\n          - from: \"direct:hello\"\n            steps:\n              - log: \"${body}\"\n              - to: \"direct:world\"\n```\n\n`@alt-javascript/config` deserialises this at load time; the starter passes it to `RouteLoader.loadObject()` to avoid a double-parse.\n\n## Usage\n\n```js\nimport { camelLiteStarter } from 'boot-camel-lite-starter';\n\nconst { applicationContext } = await camelLiteStarter({ config: cfg });\n\nconst ctx = applicationContext.get('camelLiteContext');\nawait ctx.ready();\n\nconst pt = applicationContext.get('camelProducerTemplate');\nawait pt.sendBody('direct:hello', 'world');\n```\n\n## CDI RouteBuilder Discovery\n\nAny CDI bean that exposes a `configure(camelContext)` method is treated as a RouteBuilder and discovered automatically by `RouteRegistry`. No explicit registration is required — declare the bean in your CDI config array and give it a `configure` method:\n\n```js\nclass GreetingRoutes {\n  configure(camelContext) {\n    camelContext\n      .from('direct:greet')\n      .log('${body}');\n  }\n}\n```\n\n## See Also\n\n- [camel-lite root README](../../README.md)\n- [boot-camel-lite-extras-starter README](../boot-camel-lite-extras-starter/README.md)\n","readmeFilename":"README.md"}