Skip to content

Instantly share code, notes, and snippets.

@sauthieg
Created December 5, 2014 11:41
Show Gist options
  • Save sauthieg/165f33f4a5f9cde96476 to your computer and use it in GitHub Desktop.
Save sauthieg/165f33f4a5f9cde96476 to your computer and use it in GitHub Desktop.
Route sample
{
"heap": {
"objects": [
{
"name": "OutgoingChain",
"type": "Chain",
"comment": "Intercept the exchange processing",
"config": {
"filters": [ ],
"handler": "Forwarder"
}
},
{
"name": "Capture",
"type": "CaptureFilter",
"comment": "Capture both the request and the responses in a file",
"config": {
"file": "/tmp/gateway.log",
"captureEntity": true
}
},
{
"name": "Forwarder",
"type": "ClientHandler",
"config": { }
}
]
},
"handler": "OutgoingChain",
"baseURI":"http://forgerock.com",
"condition": "${not empty exchange.request.form['forward']}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment