Hi venkatesh,
When there is no transaction context, you cannot access resource manager.
After the transaction is 'commited' or 'rolled back' then only 'afterCompletion' method is called. since the transaction is already completed and there is no meaning full transaction (no transaction context) left for 'afterCompletion' method we could not call any resource manager.
let me know i am correct or not
