And you switched to what? Is there any good alternative?
Bartłomiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wrocław, Poland
NIP: 899 258 73 59
Tel. +48 71 338 65 64; Kom. +48 668 891 540
Fax +48 71 338 65 55
b.buc...@phxtecno.com
phxtecno.com
On 08/27/2013 02:20 PM, Senthil Muthiah wrote:
Forum is not active, so i dropped using this HAPI
On Tue, Aug 27, 2013 at 4:07 PM, Bartłomiej Buczek
<b.buc...@phxtecno.com <mailto:b.buc...@phxtecno.com>> wrote:
Really no one can help me with this? I'm waiting so long and
simple no response...
Bartłomiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wrocław, Poland
NIP: 899 258 73 59
Tel. +48 71 338 65 64; Kom. +48 668 891 540
Fax +48 71 338 65 55
b.buc...@phxtecno.com <mailto:b.buc...@phxtecno.com>
phxtecno.com <http://phxtecno.com>
On 07/12/2013 12:06 PM, Bartłomiej Buczek wrote:
Hi,
I was following example send multiple messages out
<http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html>
and found out something like this:
// Setup server to listen for incoming message
int port = 8813;
boolean useTls = false;
HapiContext context = new DefaultHapiContext();
HL7Service server = context.newServer(port, useTls);
// We want to listen ADT^A01 messages
ReceivingApplication handler = (ReceivingApplication) new
ExampleReceiverApplication();
server.registerApplication("ADT", "A01", handler);
So I run the application and as far as I understand I have setup
server and a client application which will listen for ADT^A01
messages. Now I want to create another application (let's say
another client) which will connect with that already created
server and listen for ADT^A02 messages.
I found on documentation something like that:
"If you are wondering how to integrate HAPI into an existing
server application, this is probably the place. Create a class
that implements ReceivingApplication, then look at HL7Server and
ApplicationRouter to see how to get HAPI to listen for messages
on a socket and pass them to your ReceivingApplication."
But how should I use HL7Server and ApplicationRouter to connect
with previously created server? Maybe I'm missing something in
the logic but let's consider that one software already has
running server and I want to integrate with them to listen for
messages special for my application (like ADT^A02) - how to do this?
--
Bartłomiej Buczek
Phoenix Tecnologie Sp. z o.o.
ul. Wiosenna 14/2; 53-017 Wrocław, Poland
NIP: 899 258 73 59
Tel. +48 71 338 65 64; Kom. +48 668 891 540
Fax +48 71 338 65 55
b.buc...@phxtecno.com <mailto:b.buc...@phxtecno.com>
phxtecno.com <http://phxtecno.com>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance
Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
<mailto:Hl7api-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel