Here are some samples with configuration files. To run application, just set the config file :
java -jar hl7mp-1.0-jar-with-dependencies.jar org.opikanoba.hl7mp.App -cfg conf/config-app1.yaml
Description: application that consumes messages, log them.
- consumer app1 MLLP server (port 8901)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=100% AE=0% AR=0% |
| WAIT | not configured |
| LOG | Y |
Description: some application errors (20%)
- consumer app2 MLLP server (port 8902)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=80% AE=20% AR=0% |
| WAIT | not configured |
| LOG | Y |
Description: some application errors ACK (20%) and some technical errors ACK (20%)
- consumer app3 MLLP server (port 8903)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=60% AE=20% AR=20% |
| WAIT | not configured |
| LOG | Y |
Description: The application only responds with errors (AE 100%)
- consumer app4 MLLP server (port 8904)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=0% AE=100% AR=0% |
| WAIT | not configured |
| LOG | Y |
Description: the application is very slow, 10s for processing each message
- consumer app5 MLLP server (port 8905)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=100% AE=0% AR=0% |
| WAIT | 10s for 100% |
| LOG | Y |
Description: the application processes some message (20%) with a lot of delay (20s)
- consumer app6 MLLP server (port 8906)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=100% AE=0% AR=0% |
| WAIT | 20s for 20% |
| LOG | Y |
Description: No message processed due to errors: application (50%) or technical (50%)
- consumer app7 MLLP server (port 8907)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=0% AE=50% AR=50% |
| WAIT | not configured |
| LOG | Y |
Description: The application processes several messages (20%) with a long delay (20s). 60% are OK, others are KO.
- consumer app8 MLLP server (port 8908)
- handlers:
| Category | Parameter |
|---|---|
| ACK | AA=60% AE=20% AR=20% |
| WAIT | 20s for 20% |
| LOG | Y |
Description: The application reads all HL7 files which follow the regex name *.hl7, written in java, e.g. .*?[.]hl7.
- consumer app10 directory reader
- handlers:
| Category | Parameter |
|---|---|
| ACK | not configured |
| WAIT | not configured |
| LOG | Y |
Description: The application reads all HL7 files which follow the regex name *.hl7, written in java, e.g. .*?[.]hl7.
- consumer app11 directory reader
- handlers:
| Category | Parameter |
|---|---|
| ACK | not configured |
| WAIT | not configured |
| LOG | Y |
| LOG | logs values of MSH-9-2 and PID-18 |
Description: The application reads all HL7 files which follow the regex name *.hl7, written in java, e.g. .*?[.]hl7. and sends the messages to a MLLP server
- consumer app12 directory reader
- handlers:
| Category | Parameter |
|---|---|
| ACK | not configured |
| WAIT | not configured |
| LOG | Y |
| MLLP | sends to localhost:8901 |