Created
April 4, 2012 15:14
-
-
Save dfeist/2302513 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="createOrder" > | |
<http:inbound-endpoint address="http://localhost/api/order" /> | |
<component class="org.my.CreateOrderComponent" /> | |
<http:response-builder status="201" contentType="text/plain"> | |
<http:location value="#[http.context.uri]/#[orderID]"/> | |
<set-payload value="Order #[orderID] added."/> | |
</http:response-builder> | |
<flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment