# rejectIncoming

For topics, `rejectIncoming` specifies that, if any of the subscribers have an outstanding number of undelivered messages on the server that are over the message limit, all new messages are rejected and an error is returned to the producer.

For queues, `rejectIncoming` specifies that, if messages on the queue have exceeded the `maxbytes` or `maxmsgs` value, all new messages are rejected and an error is returned to the producer. (This is the same as the `default` behavior.)

Copyright © Cloud Software Group, Inc. All rights reserved.