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 ValueResponse HTTP/1.1 200 OKServer Apache-Coyote/1.1X-Powered-By Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0X-UA-Compatible IE=EmulateIE7X-ABC-XYZ-ERROR -34Cache-Control no-cache, no-storeContent-Type text/html;charset=UTF-8Transfer-Encoding chunkedDate Sun, 10 Jun 2012 22:34:54 GMTWhen X-ABC-XYZ-ERROR is < 0 I want error evented.