Skip to content

Fix widget-gadget example: use guest/guest RabbitMQ creds, correct README dir - #215

Open
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-widget-gadget-rabbitmq-creds
Open

Fix widget-gadget example: use guest/guest RabbitMQ creds, correct README dir#215
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-widget-gadget-rabbitmq-creds

Conversation

@Croway

@Croway Croway commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

application.properties hardcoded artemis/artemis credentials with a stray spring.artemis.mode=native, a copy-paste leftover from an ActiveMQ example. camel infra run rabbitmq provisions guest/guest, so the app failed to authenticate against RabbitMQ out of the box.

  • Removed the stray spring.artemis.mode=native.
  • Changed AMQP_SERVICE_USERNAME/AMQP_SERVICE_PASSWORD to guest/guest to match what camel infra run rabbitmq provisions.
  • Fixed README's cd spring-boot-widget-gadget to cd widget-gadget to match the actual directory name.

Test plan

  • mvn package
  • camel infra run rabbitmq, then mvn spring-boot:run — app started with no auth errors, connected to amqp://localhost:5672, and successfully routed order1.json/order2.json through the widget/gadget processors via order.queue

…ADME dir

application.properties hardcoded artemis/artemis credentials with a stray
spring.artemis.mode=native, leftover from an ActiveMQ example copy-paste.
camel infra run rabbitmq provisions guest/guest, so the app failed to
authenticate out of the box. Also fixed README's cd spring-boot-widget-gadget
to match the actual widget-gadget directory name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JvQJNT1UYzqUm5HQtkL6Nu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant