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

Return Values

Return Values  

Description  

0

Normal, successful completion. 

MTA_BADARGS

Received for one of three reasons: 

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

  2. An invalid dequeue context was supplied for dq_ctx

  3. A required argument to an item code was NULL.

MTA_NO

An attempt was made to retrieve recipient information before calling mtaDequeueRecipientNext().

MTA_NOSUCHITEM

An invalid item code was specified. 

MTA_THREAD

The MTA SDK detected simultaneous use of the dequeue context by two different threads.