octx.setOneWay(false);
transport.finalPrepareOutputStreamContext(octx);
octx.getOutputStream().write(bytes, 0, total);
octx.getOutputStream().flush();
MessageContext replyCtx = new GenericMessageContext();
ctx.put("ObjectMessageContext.MESSAGE_INPUT", Boolean.TRUE);
replyCtx.putAll(ctx);
replyCtx.put("ObjectMessageContext.MESSAGE_INPUT", Boolean.TRUE);
((JMSServerTransport)transport).postDispatch(replyCtx, octx);
octx.getOutputStream().close();
} catch (Exception ex) {
//