Skip to main content

Is it possible to store state when executing a mule flow?

What are the options available?

 

Just playing around micro-services and how well mule fits the bill.

Azure has ServiceFabric and just seeing if I could have Mule playing like it.

3 answers
  1. May 8, 2017, 8:24 AM

    You can store state in flows, e.g. with the object store connector or one of the database connectors (jdbc, MongoDb, etc.).

     

    The object store is suitable for small bits of data, e.g. a flag which can be changed at runtime to control routing.

     

    The various database connectors for large amount of data.

     

    The primary questions: Should you implement your logic and storage in Mule flows? A Spring Boot application with Hibernate and a relational database may be better suited for this. You still can implement a system api in front of it with Mule to stay flexible.

0/9000