514: --In this case try setting the account name as consumer
515: --Do not put APIs to minimise dependencies
516: select sys_context('USERENV', 'CURRENT_SCHEMA')
517: into l_dequeue_options.consumer_name 518: from sys.dual; 519: else
520: l_dequeue_options.consumer_name := AgtName ;
521: end if;
522: end if;