Hi

Is it possible to disable or configure message content validation so that 
messages which fail validation continue to be sent to the receiving application?

Here’s a bit of background:

I have an HL7 service which receives messages over MLLP, does some processing, 
and forwards them to another destination.  The HL7Service class code I’m using 
is below.

I am receiving messages that are invalid against the specification from an 
endpoint over which I cannot change.

These are currently being sent straight to the ExceptionHandler.  I’m like 
these to continue to be sent to the receiving application so I can transform 
them to become valid messages.

HapiContext context = new DefaultHapiContext();
HL7Service service = context.newServer(channel.getPortNumber(), 
channel.isUseTls());
service.registerApplication("*", "*", new Hl7ReceivingApplication());
service.registerConnectionListener(new Hl7ConnectionListener());
service.setExceptionHandler(new Hl7ExceptionHandler());
service.startAndWait();

Many thanks
Jonny


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to