public void receive ( int requestNumber , int tran , long timeout ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "receive" , new Object [ ] { requestNumber , tran , timeout } ) ; if ( subConsumer == null ) { subConsumer = new CATSessSynchConsumer ( this ) ; } subConsumer . receive ( requestNumber , tran , timeout ) ; // f177889 // f187521.2.1 if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "receive" ) ; }
Performs a receive on this consumer . This is only a valid operation when the consumer is in synchronous mode . If the sub consumer has not been set up then this has to be created here .