octx.put(JMSConstants.JMS_CLIENT_RECEIVE_TIMEOUT, new Long(10));
}
public void setupOneWayCallbackObject(final boolean useAutomaticWorkQueue) {
callback1 = new ServerTransportCallback() {
public void dispatch(InputStreamMessageContext ctx, ServerTransport transport) {
try {
byte bytes[] = new byte[10000];
readBytes(bytes, ctx.getInputStream());