From: Steve H. <ste...@gm...> - 2004-12-15 18:52:52
|
Dario, You should be able to see verbose log output (including messages received) if logging is properly configured. Handling of incoming HL7 messages is done by "Applications," which must be registered with the server. By default, SimpleServer (which I assume you're using) starts up with no registered Applications. You will need to create one by implementing the Application interface and then register it with your instance of SimpleServer. You might call it "ForwardingApplication" or something. There are 2 methods to implement: canProcess() and processMessage(). I think your Application's canProcess() will always return true. Good luck. -Steve On Wed, 15 Dec 2004 16:45:55 +0100, monaldi <dar...@os...> wrote: > Oi! > > I am an italian student who is developing a project about integration with > medtrak and some custom applications developed for the 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: > > 1- make HAPI show the messages it receives no the incoming port, other than > ACK messages. > 2- make HAPI forward the messages to another application/port. It always > tells me that ' No appropriate destination could be found to which this > message could be routed.. ' > > in fact, for now, i would like hapi to receive on an incoming port, then > forward to an outgoing port, which is the port on whic MESA is listening. > > Can you help me or at least help me find some documentation i could fin tips > on? > > Many thanx, > bye, > > Dario Feola, > Azienda Ospedaliera V. Monaldi - Napoli - ITALY > > -- > 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 > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > |