Spring and Functions - implement Once Execute Anywhere!
summary
Claim: a Java function written as Supplier/Function/Consumer runs unchanged across REST, RabbitMQ and serverless by adding starters; the demo shows adding spring-cloud-function-web exposes /uppercase and adding the Rabbit binder creates exchanges and queues and the function processes messages. Core features are function catalog for discovery and composition, automatic type conversion (JSON via Jackson) and function routing via definition or header. Reactive and tuple support exist (up to 8 streams). A SPEL header injection was patched; conversion edge cases require custom converters.
AI-written summary · about
