MQ connector vs empty queue
Posted: Thu May 10, 2018 10:37 am
Hey experts,
I am having a little trouble trying to find the magic combination of settings for the MQ connector stage that allows it to 'do nothing' if there are no messages on the queue.
What I have is a batch process that periodically will empty a queue that is connected to a topic. It is unusual for the queue to be empty, but when it is, I get a 2033 'error' (empty queue) which crashes my job. The web / documentation is of little help; it suggests upping the wait time so I get a message. I don't want to do that; I want to gracefully do nothing at all and let my job end. I have played with nearly every setting without success.
Thanks!
I am having a little trouble trying to find the magic combination of settings for the MQ connector stage that allows it to 'do nothing' if there are no messages on the queue.
What I have is a batch process that periodically will empty a queue that is connected to a topic. It is unusual for the queue to be empty, but when it is, I get a 2033 'error' (empty queue) which crashes my job. The web / documentation is of little help; it suggests upping the wait time so I get a message. I don't want to do that; I want to gracefully do nothing at all and let my job end. I have played with nearly every setting without success.
Thanks!