Hi,

Let me explain my problem more clearly. I did made the server to run in 
three different ports. But the application configured with the server is 
same. So whenever i pass the HL7 message to any of the three ports, they 
are all calling the same processMessage() method of the application. 
That is fine, i do need that is to be happened. But the thing is, i also 
need to know the receiving port of that current message. Is there any 
way to read the port?

If not, I am ready to work with you to find a solution to this kind of 
problem.

Thanks
Ram


On 03/12/2012 05:47 AM, hl7api-devel-requ...@lists.sourceforge.net wrote:
> Send Hl7api-devel mailing list submissions to
>       hl7api-devel@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/hl7api-devel
> or, via email, send a message with subject or body 'help' to
>       hl7api-devel-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
>       hl7api-devel-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Hl7api-devel digest..."
>
>
> Today's Topics:
>
>     1. How to create acknowledgment message (Sandy Chops)
>     2. Re: How to create acknowledgment message (Jens Kristian Villadsen)
>     3. Specifying  scope in a RuleBinding?? (ray_lu...@verizon.net)
>     4. Re: Specifying  scope in a RuleBinding?? (christian ohr)
>     5. generate custom datatype (Gabriel Euzet)
>     6. Re: generate custom datatype (James Agnew)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 6 Mar 2012 11:11:21 -0800 (PST)
> From: Sandy Chops<sandycho...@yahoo.com>
> Subject: [HAPI-devel] How to create acknowledgment message
> To: "hl7api-devel@lists.sourceforge.net"
>       <hl7api-devel@lists.sourceforge.net>
> Message-ID:
>       <1331061081.53163.yahoomail...@web122004.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I would like to creat Acknowledgement message using AR and AE code and send 
> the error string in the
> ERR segment.
>
> Using the ack = DefaultApplication.makeACK((Segment) message.get("MSH"));
>
> It only created AA message.
>
> Could someone please share me how to create ack message with other error 
> codes and string.
>
> Thanks in advance.
> Sandy
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Tue, 6 Mar 2012 21:47:23 +0100
> From: Jens Kristian Villadsen<j...@c3a.dk>
> Subject: Re: [HAPI-devel] How to create acknowledgment message
> To: Sandy Chops<sandycho...@yahoo.com>
> Cc: "hl7api-devel@lists.sourceforge.net"
>       <hl7api-devel@lists.sourceforge.net>
> Message-ID:
>       <CAJL9=us+pLJCcXk+yP5dEEXSjB7E1-=r-xjh5m8ng8lwfwn...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Sandy - take a look at
> http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html#generateACK%28java.lang.String,%20ca.uhn.hl7v2.HL7Exception%29
>
> 2012/3/6 Sandy Chops<sandycho...@yahoo.com>
>
>> Hi,
>>
>> I would like to creat Acknowledgement message using AR and AE code and
>> send the error string in the
>> ERR segment.
>>
>> Using the ack = DefaultApplication.makeACK((Segment) message.get("MSH"));
>>
>> It only created AA message.
>>
>> Could someone please share me how to create ack message with other error
>> codes and string.
>>
>> Thanks in advance.
>> Sandy
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Hl7api-devel mailing list
>> Hl7api-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>>
>>
>


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to