Re: [HAPI-devel] Thread Safe Queue for HL7 messages

2024-02-08 Thread Stewart Anderson via Hl7api-devel
You are welcome. Hope it was useful. You don't really have much choice but to parse the message or you can't do any work on it in HAPI. That's how IEs do it anyway. Stewart ___ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://list

Re: [HAPI-devel] Thread Safe Queue for HL7 messages

2024-02-08 Thread Stewart Anderson via Hl7api-devel
If I recall correctly a singleton is a class that is available across the entire jvm, so if you intend it to handle all messages from lots of queues, I'd think it might quickly become a bottleneck for messaging. No expert in this but, from an integration perspective it would be more scalable a

Re: [HAPI-devel] Thread Safe Queue for HL7 messages

2024-02-07 Thread Stewart Anderson via Hl7api-devel
Haven't used HAPI in the raw for a while now, but I think it is focused on the serialisation of HL7, there is an MLLP Sender/receiver, but if you want to write then to a queue, after or before receipt/send, you'd need to handle the queue yourself. JMS or ActiveMQ/Rabbit etc. There are tons