Blogs

The Magic of “Simple”

In the world of enterprise integration, there’s often a tug-of-war between power and complexity. Usually, if you want to do something sophisticated, such as extracting a specific value from a massive JSON file or routing data based on a unique ID, you have to roll up your sleeves and write code in Groovy or JavaScript.

At Fluxygen, we believe in giving you the best of both worlds. While we fully support professional scripting languages, we’ve integrated a “secret weapon” from the Apache Camel ecosystem: The Simple Expression Language.

Don’t let the name fool you. While it is easy to read, “Simple” is an incredibly potent tool that handles 90% of integration tasks without a single line of traditional code.
 

What is Simple?

Simple is a domain-specific language designed to move, shake, and transform data as it passes through your Fluxygen flows. Whether you are using a setBody or setHeaders component, defining a filter, or route content, Simple is the easiest low-code solution.

With the arrival of Camel 4, Simple has evolved from a basic utility into a high-performance engine. Here is why it’s a game-changer for Fluxygen users.

Hand snapping fingers with spark-like icons, symbolizing the speed and simplicity of using Apache Camel’s Simple Expression Language in Fluxygen integrations.

Why Simple?

Simple is designed to look like plain English. It allows you to describe what you want to happen to your data.

  • Dynamic Personalization: Want to change a message body to greet a customer by name?
    • Simple: Hello ${header.customerName}, welcome back!
  • Decision Making: Need to route an invoice only if it’s over $1,000?
    • Simple: ${header.amount} > 1000
  • Cleaning Data: Tired of messy, one-line JSON files? Use the built-in Prettify function to turn a wall of text into a readable document with one command.

Simple allows business analysts and project managers to build and tweak flows without waiting for a developer to write a script.

For the Experienced Developer

For the seasoned pro, Groovy and JavaScript are always there when you need heavy lifting. But for standard expressions, Simple is faster to write, easier to maintain, and highly optimized for the Fluxygen environment.

In Fluxygen 4.17.x (powered by Camel 4), Simple has gained new powers:

  • Native JSONPATH & JQ Support: You can now query JSON directly within a Simple expression. No more unmarshalling to a Map just to check a value.
    • Example: ${jq(.order.items[0].id)}
  • Security & Utilities: Need a quick hash for a signature? Or a random UUID for a transaction ID?
    • Example: ${uuid} or ${hash(body, SHA-256)}

Check the Simple documentation for all possibilities:

https://camel.apache.org/components/4.14.x/languages/simple-language.html

The Bottom Line

At Fluxygen, our goal is to make integration accessible. By leveraging the Simple Expression Language, we provide a bridge between the technical and the functional.

It’s simple enough for a beginner to pick up in an afternoon, yet powerful enough for a senior architect to build robust, enterprise-grade logic.

Ready to try it out? Schedule a demo today and see how “Simple” your next integration can be.

Got something
to connect?

Sign up for a demo

See how easy integration can be!

Schedule a demo and experience the Fluxygen application yourself

Related resources

Fluxygen 4.17.13

Fluxygen release 4.17.13 focuses on security, s...

Application Integration is more than an API Connection

An API connection alone does not make a success...

Secure Your Integrations with Fluxygen Hardening

Fluxygen hardening adds an extra security layer...

Episode 6: Handling Errors Smartly – Integrating TMS with a Visibility Platform

In the final episode of Integrating with Fluxyg...

This website uses cookies

We use cookies to personalize content, provide social media features, and analyze our traffic. We also share information about your use of our site with our analytics partners. You can change your preferences at any time. For more information, please see our Privacy Policy and Cookie Policy.