Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Return Values

In the event of an error from mtaEnqueueError(), a NULL value will be returned and mta_errno is set to indicate the error status code. The following table lists the error status codes, and gives a description of them.

Error Status Codes  



Normal, successful completion. 


This value is returned for one of the following reasons: 

  1. A NULL value was supplied for the nq_ctx call argument.

  2. An invalid context was passed for nq_ctx.


Simultaneous use of the enqueue context by two different threads was detected.