Skip to content

fix(#22): add camel-knative-ssl example with TLS/SSL Knative broker - #23

Merged
christophd merged 2 commits into
mainfrom
fix/22-camel-knative-ssl
Jul 25, 2026
Merged

christophd merged 2 commits into
mainfrom
fix/22-camel-knative-ssl

Conversation

@christophd

Copy link
Copy Markdown
Member

Summary

Closes #22

Adds a new camel-knative-ssl sub-module that demonstrates a Knative eventing flow secured with TLS/SSL. It follows the same pattern as the existing camel-knative module (LocalStack S3 source → Camel route → Knative broker) but the Knative broker endpoint is secured with HTTPS and Citrus validates the received CloudEvents over a secure channel.

Changes

  • apache-camel/camel-knative-ssl/ — new module mirroring camel-knative layout
    • Routes.java — unchanged from camel-knative; source-to-knative route
    • SourceOptions.java — CDI bean providing a WebClientOptions backed by KnativeSslClientOptions
    • application.properties — wires the SSL client bean and sets k.sink=https://localhost:8443 in test profile
    • knative.json — broker sink URL defaults to https://localhost:8443
    • kubernetes.yml — Knative SinkBinding deployment descriptor
    • QuarkusApplicationTest.java — Citrus HTTP server broker on port 8443 (SSL), uses explicit http().server().receive() / http().server().send() to validate CloudEvents
    • src/test/resources/keystore/ — generated test keystores (server.jks, truststore.jks, client.pem, client.crt)
  • apache-camel/pom.xml — added camel-knative-ssl to aggregator modules list

Test Result

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

Full root build also passes (mvn clean install -DskipTests): 21/21 modules SUCCESS.

Generated by Bob via /oss-fix-issue

@christophd
christophd merged commit a5da49e into main Jul 25, 2026
1 check passed
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.

Add Knative eventing example using SSL

1 participant