Are there any objections to simply use two instances of SimpleServer
using the two different ports you mentioned?

Christian

2012/12/17 Brijesh Singh <contact.brije...@gmail.com>:
> Hi - As per HAPI documentation, messages can be processed through HAPI using
> SimpleServer on a port. We have a requirement where data coming from
> different feeds to our application on different ports. Does HAPI provide API
> to handle incoming messages on different ports? All these feeds are inbound
> to our interface. For example, we would like to listen to ADT feed on port
> 8080 and ORU feed on 8081?
>
> Is it possible to handle using HAPI? or Please suggest any alternate
> strategy we can use to handle multiple ports for different inbound feeds?
>
>        SimpleServer HL7Listener = new SimpleServer(PORT, llp, parser);
>        HL7Listener.registerApplication("*", "*", handler);
>        HL7Listener.start();
>
> Cheers,
> Brijesh
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to