Using Liferay's Message Bus for Asynchronous parallel processing
When: 26 May 2015 @ 1000 EDT / 1400 GMT / 1600 CEST
Led by: Andrew Jardine
The Liferay Message Bus is a service level API used to exchange messages within Liferay. The Message Bus is a mechanism for sending message payloads to different components in Liferay, providing loose coupling between message producers and consumers to prevent class loading issues. But it can also be used for firing and responding to asynchronous workloads executing in parallel, offering good performance and a convenient programmatic way to do async programming. Join Andrew Jardine, Liferay Top Contributor, and explore a real world use case and understand how developers can use Liferay's Message Bus APIs to handle processing tasks in an easy and robust way.
Pre-Session Setup and Needed MaterialsBasic setup requirements before the session:
- A running Liferay 6.2 installation (with no modifications needed)
- A development environment (like Liferay IDE) to be able to create and deploy portlets
- Follow along and copy/paste code from this Gist
If you plan on participating, you'll also need to have a web service configured to do something, that you can call using a REST-like API. If you don't have one, grab this .war and deploy it to any running Tomcat instance