Created
October 19, 2014 08:17
-
-
Save sauthieg/b4658a6b111620f99705 to your computer and use it in GitHub Desktop.
Install a CaptureFilter in a Chain
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": "CapturingChain", | |
"type": "Chain", | |
"config": { | |
"filters": [ "Capture" ], | |
"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": { } | |
} | |
] | |
}, | |
"handlerObject": "CapturingChain", | |
"baseURI": "http://localhost:80" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment