hello,
I created a job that read from a queue with an MQ_connector.
This job run once.
But there is a way that this job stay up always, like a listen mode and when there is a message in the queue, then this job is executing ?
Thank you
MQ_connector
Moderators: chulett, rschirm, roy
Look thru the documentation on the properties and their defaults and available values. There is a wait time property that when set to -1, means "wait indefinitely". NOT a good idea during testing and understanding the Stage. There is also a message limiter. When first starting I make these values 30 and 10 respectively. Don't make the timeout -1 until you are fully familiar with the Stage and have learned how to force it to stop cleanly (there is a message type you can specify for clean shutdown, a subject for another topic).
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
What is interesting is that Waittime defaults to -1 (wait forever)....and usually developers will accidentally leave it this way and wonder why the Job never stops. ; )
As noted above, always start your work with the MQ Connector with waittime at 30 and message quantity at (say) 10.
Ernie
As noted above, always start your work with the MQ Connector with waittime at 30 and message quantity at (say) 10.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Premium Member
- Posts: 425
- Joined: Sat Nov 19, 2005 9:26 am
- Location: New York City
- Contact: