Re: [HAPI-devel] Customized NACK for badly formatted incoming messages

2012-11-08 Thread James Agnew
Hi Laurent, If you make your Application object also implement ApplicationExceptionHandler, there is a callback which will be invoked whenever a parse error occurs. This at least lets you trap the error if you just want to know about it. If what you actually want is a way to not have HAPI choke w

[HAPI-devel] Customized NACK for badly formatted incoming messages

2012-11-08 Thread LDH
Hello, I have written a class that extends ca.uhn.hl7v2.app.Application. I have implemented the ProcessMessage() method. I initialize everything as follows: LowerLayerProtocol llp = LowerLayerProtocol.makeLLP(); // The transport protocol PipeParser parser = new PipeParser(new C