QuiclNote002_For_Marcus Davies.pdf
Preview
This Quick Note discusses a solution to the use case provided by Marcus Davies.
I am trying to read HL7 from JMS (preferably stcms) and populate an outbound XML data structure (different to the XML generated by the decoder).
I have been thinking of doing one of the following […]:
1. Use a Concrete JMS WS using the HL7 encoders to unmarshal the HL7 and use JAXB to populate the outbound XML. Unfortunately this does not appear to connect to the stcms queue as I can not see any receivers
2. Use a JCA MDB to read from the stcms JMS queue - this works but I don’t think I can use the HL7 encoder like this
3. Use and MDB to read from JMS, manually unmarshal the HL7 and use JAXB to populate the data structure
Ideally I would like to use the HL7 encoders. Do you think the first approach should work?
1 will not work. 2 and 3 may work but will be laborious. The Quick Note 002 elaborates briefly. I have a Number 4, which uses a HL7 OTD and a custom XSD-based OTD in a JCA MDB.
I am trying to read HL7 from JMS (preferably stcms) and populate an outbound XML data structure (different to the XML generated by the decoder).
I have been thinking of doing one of the following […]:
1. Use a Concrete JMS WS using the HL7 encoders to unmarshal the HL7 and use JAXB to populate the outbound XML. Unfortunately this does not appear to connect to the stcms queue as I can not see any receivers
2. Use a JCA MDB to read from the stcms JMS queue - this works but I don’t think I can use the HL7 encoder like this
3. Use and MDB to read from JMS, manually unmarshal the HL7 and use JAXB to populate the data structure
Ideally I would like to use the HL7 encoders. Do you think the first approach should work?
1 will not work. 2 and 3 may work but will be laborious. The Quick Note 002 elaborates briefly. I have a Number 4, which uses a HL7 OTD and a custom XSD-based OTD in a JCA MDB.
About This Media
| Contributor: | Michael.Czapski-Sun |
| Size: | 481.8 KB |
| Downloaded: | 182 times |
| Content type: | application/x-pdf |
| Uploaded at: | 2009-02-28 14:00 |
| Last update at: | 2009-02-28 17:17 |