Sorry, but I don't understand.
I have downloaded this version (2.3) on 22 january, 2018. I have to download it 
again (for possibly change)?


From: Tom Chiverton []
Sent: martedì 13 febbraio 2018 15:25
Subject: Re: [HAPI-devel] Receiving message

Your message indicates you don't have the updated class.


On 13/02/18 14:24, Lorenzo Vitali wrote:
Hi Tom.

Thanks for your reply.

Unfortunately, your suggest seems to not work correctly. Compiling my code with 
Eclipse, I get an error message about the utilize of newServer for the passage 
of the last parameter in the method (this is the error message: "The method 
newServer(int, boolean) in the type HapiContext is not applicable for the 
arguments (int, boolean, boolean)").

A note aside. In the last email I have completely forgot to mention what 
version of HAPI I use. I have downloaded the last version of HAPI HL7v2 from 
here<> (then yes, maybe, I use the 
version 2.3).


From: Tom Chiverton []
Sent: martedì 13 febbraio 2018 13:20
Subject: Re: [HAPI-devel] Receiving message

Yes, this was added in v2.3.

You construct a context as normal, then use

      HL7Service server = context.newServer(port, useTls, acceptAll); // e.g. 
3456, false, true

The receiver application class can then return true directly from canProcess() 
and all messages arrive to processMessage().

On 13/02/18 11:43, Lorenzo Vitali wrote:
Then, my question is if there is really a method to get all the incoming 
messages without specifies the typologies.

This email has been scanned by the Symantec Email service.
For more information please visit

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Hl7api-devel mailing list

Reply via email to