In our brave new cloud-based world a lot of integration happens over the web via HTTP; for a lot of scenarios, a full WS stack that uses SOAP+UDDI+WSDL is complete overkill and a timesink. Sometimes you just want to send some data around and get a response; this is where the adapter can fit into your integration landscape and help you get things done1.
Handling incoming HTTP Requests
The Adapter comes with Jetty built in and configurable as a connection type and consumer. It’s very easy to build a very simple HTTP workflow that receives some data, and just does some stuff, and send a reply back to the client request. So, one of the very simplest workflows you could have is one that takes in some data, applies a transformation to it, and gives the response back to the client.
You can compose complicated behaviour based on this example, the services you want to apply could be anything, a database lookup, a SAP BAPI invocation; all you need to do is to remember to have a ResponseProducer as the registered producer; that will write the reply back to the client. You could have workflows that map to different resources that do a multitude of different things.
Sometimes things have to get done and your dirty proof of concept gets deployed into production… ↩︎