Hi folks
I have a small HAPI based server application to receive messages and forward
them to another destination.
I was wondering, is there a way to tie together Connections that are notified
to the ConnectionListener with Messages that are notified to the
ReceivingApplication?
I’d like to be able to record a set of messages that were received against a
particular connection.
I’m configuring the receiving service in a standard way:
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
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel