Package ca.uhn.hl7v2.app

Examples of ca.uhn.hl7v2.app.ConnectionHub.detach()


            } else {
                initiator.setTimeoutMillis(HL7Constants.DEFAULT_TIMEOUT);
            }

            returnMsg = initiator.sendAndReceive(message);
            connectionHub.detach(connection);

            if (log.isDebugEnabled()) {
                log.debug("HL7 message successfully dispatched to URL " + targetEPR);
                log.debug("Response message received from target EP : " + returnMsg.toString());
            }
View Full Code Here


    }
   
    // When we're totally done, give the connection back. This allows the
    // connection hub to either give it to someone else, or close it.
    if (conn != null) {
      connectionHub.detach(conn);
    }
   
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.