Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor camel integration #2989

Merged
merged 4 commits into from
Nov 22, 2023
Merged

chore: refactor camel integration #2989

merged 4 commits into from
Nov 22, 2023

Conversation

vmutafov
Copy link
Contributor

@vmutafov vmutafov commented Nov 16, 2023

  • support using .mjs, .ts, and .js handlers
  • migrate our Camel JS API to the new TS modules
  • automatically register Camel routes on /services/integrations without requiring users to manually configure it
  • bring the Camel SQL dependency to support SQL components usage
  • add our dynamically created Hikari data sources to Spring's DI

Camel handlers could now be written in a similar way to the Listeners:

TypeScript:

export function onMessage(message: string) {
}

JavaScript:

export function onMessage(message) {
}

JavaScript:

exports.onMessage = (message) => {
}

@vmutafov vmutafov merged commit 485e467 into master Nov 22, 2023
7 checks passed
@vmutafov vmutafov deleted the vmutafov/camel-refactor branch November 22, 2023 11:58
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