I have a XML data source that I would like to issue an error event when the response header has a certain key and value.
The headers are:
When X-ABC-XYZ-ERROR is < 0 I want error evented.
The headers are:
Key Value
Response HTTP/1.1 200 OK
Server Apache-Coyote/1.1
X-Powered-By Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0
X-UA-Compatible IE=EmulateIE7
X-ABC-XYZ-ERROR -34
Cache-Control no-cache, no-store
Content-Type text/html;charset=UTF-8
Transfer-Encoding chunked
Date Sun, 10 Jun 2012 22:34:54 GMT
When X-ABC-XYZ-ERROR is < 0 I want error evented.