Saving error message at pipeline stage
- From: "Christoffer" <christoffer@xxxxxxxxxx>
- Date: Tue, 15 Nov 2005 17:36:39 +0100
Heya guys, I need your help on this one!
I have this Orchestration which makes a HTTP call to one of our suppliers.
If all goes well, we receive a CSV-file (or stream) which is disassembled to
convenient Xml. But if anything goes wrong, our supplier sends an error
message, for example "Bad customer no". This error message is quite
important to get so we can have a look at what went wrong. The problem is
that the pipeline gives us this error:
"There was a failure executing the receive pipeline:
"<CustomPipeline>.Rcv_inquiry_response_CSV" Source: "Flat file disassembler"
Receive Location: http://<supplier-address> Reason: Unexpected data found
while looking for: ';' The current definition being parsed is
inquiry_response_CSV. The stream offset where the error occured is 0. The
line number where the error occured is 1. The column where the error occured
is 0."
I can't use tracking, since it tracks every message. We are only interested
in error messages, so I decided to make a custom flat file disassembler.
In my custom disassembler, I contained the FFDasmComp class and logged every
call to the Constructor, Probe, Disassemble and GetNext. I deployed it but
the logs for the custom pipeline only has calls to the constructor. I'm not
really sure what I'm missing here, I supposed there would be a call to
Probe(), where I could log the message.
What it all boils down to is; (a) is there an easy way to log only error
messages, that is, those that do not pass the pipeline and (b) is a custom
flat file disassembler pipeline the right way to go?
Any help is much appreciated!
Cheers,
Chris
.
- Prev by Date: No MTS Context Available
- Next by Date: Re: BTS2006 HAT Error
- Previous by thread: No MTS Context Available
- Next by thread: RE: HAT quit showing history of messages
- Index(es):
Relevant Pages
|