From: Tripp, B. <Bry...@uh...> - 2004-12-15 18:50:42
|
Hi,=20 Have a look at the package ca.uhn.hl7v2.protocol in CVS. It's better at that kind of thing than the current release is. You want a ca.uhn.hl7v2.protocol.impl.HL7Server. It uses a ca.uhn.hl7v2.protocol.ApplicationRouter that routes message types to ca.uhn.hl7v2.Application instances. You need to implement Application. Your implementation should use a = ca.uhn.hl7v2.protocol.impl.InitiatorImpl to forward messages to your destination. That's a little more work than it should be, but that's because message routing isn't really in HAPI's = scope (the routing code is just there to simplify getting messages to the = right code within a system). =20 Bryan=20 > -----Original Message----- > From: hl7...@li...=20 > [mailto:hl7...@li...]On Behalf Of monaldi > Sent: December 15, 2004 10:46 AM > To: hl7...@li... > Subject: [HAPI-devel] using hapi do develop integration in the HIS >=20 >=20 > Oi! >=20 > I am an italian student who is developing a project about=20 > integration with > medtrak and some custom applications developed for the=20 > hospital here, using > HL7. I would like to use HAPI to test the message exchange between our > actors. Basically i would like to use hapi like an intermediate > message-forwarding layer between the two actors. I cant find a way to: >=20 > 1- make HAPI show the messages it receives no the incoming=20 > port, other than > ACK messages. > 2- make HAPI forward the messages to another=20 > application/port. It always > tells me that ' No appropriate destination could be found to=20 > which this > message could be routed.. ' >=20 > in fact, for now, i would like hapi to receive on an incoming=20 > port, then > forward to an outgoing port, which is the port on whic MESA=20 > is listening. >=20 > Can you help me or at least help me find some documentation i=20 > could fin tips > on? >=20 > Many thanx, > bye, >=20 > Dario Feola,=20 > Azienda Ospedaliera V. Monaldi - Napoli - ITALY >=20 > --=20 > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 14/12/2004 > =20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from=20 > real users. > Discover which products truly live up to the hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel >=20 |