With HST Forms, you could have been able to implement your own custom handling codes to process the user inputs. For example, your HST Forms component reads customer requests, stores data and sends emails.
Also, with EasyForms, you could have been able to implement your own custom handling codes to process the user inputs. For example, your EasyForms component reads customer requests, stores data and sends emails.
However, what if you need to apply some more various business integration patterns? What if you need to send a message (via JMS, Web Services, etc.) to other integration components and translate the messages for those integration parties? Also, what if it is important to able to modify the integration scenarios easily through simple configurations instead of changing your component codes?
Those sorts of Enterprise Integration Patterns could be easily solved if EasyForms can be integrated with Apache Camel contexts. So, you can design forms with HST Forms or EasyForms and you can coordinate the integration patterns with Apache Camel.
The EasyForms Camel Support Components provide this integration with Apache Camel. If you use EasyForms Camel Support HST Component, then the component will invoke the specified Camel route when submitting the form. You can easily implement message translating beans and message processing beans which can be configured in Spring Framework Configuration for Camel Context.
You can checkout a demo project under the following SVN tags folder:
For example, you can check out 0.02.00 tag and run it like the following:
$ svn co https://forge.onehippo.org/svn/easyforms-camel/easyforms-camel-demo/tags/easyforms-camel-demo-0.02.00 easyforms-camel-demo $ cd easyforms-camel-demo $ mvn clean install $ mvn -P cargo.run
Try the 'cameleasyform' and 'camelhstform' site menu items in http://localhost:8080/site.
Below is an overview of the available versions and the Hippo CMS release they are compatible with.
|EasyForms Camel Support Components||Hippo CMS|