Created
December 5, 2014 11:41
-
-
Save sauthieg/165f33f4a5f9cde96476 to your computer and use it in GitHub Desktop.
Route sample
This file contains hidden or 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
{ | |
"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