use of org.jboss.narayana.blacktie.jatmibroker.xatmi.Buffer in project narayana by jbosstm.
the class TPSendTPSendOnlyService method tpservice.
public Response tpservice(TPSVCINFO svcinfo) throws ConnectionException, ConfigurationException {
log.info("testtpsend_tpsendonly_service");
int result = svcinfo.getSession().tpsend(svcinfo.getBuffer(), Connection.TPRECVONLY);
try {
Buffer tprecv = svcinfo.getSession().tprecv(0);
} catch (ConnectionException e) {
if (e.getTperrno() != Connection.TPEEVENT) {
log.error("ConnectionException: ", e);
throw e;
}
}
return null;
}
Aggregations