apache / apache/camel-quarkus

camel-quarkus-examples/aws-lambda does not run

Open
#7,973 1 comment 0 reactions 0 assignees View on GitHub
area/examples example
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 22h
Merged PRs (30d)
108

Description

### Description

The aws-lambda example does not run in dev mode because the dev-ui console is taking the 8080 port. This is seemingly not an issue with plain quarkus http server apps, but it seems the lambda mock server does not play well with the dev-ui (assuming it's based on vertx features).

It'd seem to me this should be documented _somewhere_.

Reproduced by
```bash
git clone git@github.com:apache/camel-quarkus-examples.git
cd camel-quarkus-examples/aws-lambda/
mvn quarkus:dev
```

results in

```text
2025-11-15 18:43:01,856 INFO [io.qua.ama.lam.run.AbstractLambdaPollLoop] (Lambda Thread (DEVELOPMENT)) Listening on: http://localhost:8080/_lambda_/2018-06-01/runtime/invocation/next
2025-11-15 18:43:01,966 WARN [io.qua.ama.lam.run.AbstractLambdaPollLoop] (Lambda Thread (DEVELOPMENT)) Aborting lambda poll loop: ending dev/test mode
2025-11-15 18:43:01,968 INFO [io.qua.ama.lam.run.AbstractLambdaPollLoop] (Lambda Thread (DEVELOPMENT)) Lambda polling thread complete (DEVELOPMENT)
2025-11-15 18:43:01,970 INFO [org.apa.cam.imp.deb.DefaultBacklogDebugger] (Quarkus Main Thread) Disabling Camel debugger
2025-11-15 18:43:01,970 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Apache Camel 4.15.0 (camel-1) is shutting down
2025-11-15 18:43:01,978 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Routes stopped (total:1)
2025-11-15 18:43:01,979 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Stopped Test (direct://input)
2025-11-15 18:43:01,988 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (Quarkus Main Thread) Apache Camel 4.15.0 (camel-1) shutdown in 17ms (uptime:0s)
2025-11-15 18:43:01,997 ERROR [io.qua.run.Application] (Quarkus Main Thread) Port 8080 seems to be in use by another process. Quarkus may already be running or the port is used by another application.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the camel-quarkus-examples/aws-lambda example and reproduce the failure with mvn quarkus:dev. Document why the Lambda mock server and Dev UI conflict on port 8080, along with the supported way to run the example; done means a newcomer can follow the guidance and start the example in dev mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.