From: Christian O. <chr...@gm...> - 2014-06-23 14:54:39
|
// A connection object represents a socket attached to an HL7 server Connection connection = connectionHub .attach("localhost", port, new PipeParser(), MinLowerLayerProtocol.class); Just attach the connection to the Gazelle host and port instead of localhost. Christian 2014-06-23 11:30 GMT+02:00 Sara Fatima <sar...@gm...>: > Hi all, > > I am trying to send HL7 message to PAMSimulator > <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need to > do this over MLLP. I was trying this > <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, > but here the example is creating an example server to send the message. I > do not intent to do this, as I am sending to the PAMSimulator server. I am > looking to provide the port and the host of the server and send the > message. How can I do this? Is there any sample code for this type? > > Thanks & Regards > Sara Fatima > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |