This content has been marked as final.
Show 1 reply
-
1. Re: SedaProducer - How to implement a blocking producer ?
davsclaus Aug 25, 2009 12:29 AM (in response to tha_bach)You could set the queue size to Integer.MAX to prevent the queue from being full.
And do you really want to wait potential forever to hand over a message to the queue in case its full, and thus block?
We could introduce such an option on the seda producer to block in case the queue is full. Please add a ticket in JIRA for this new feature.
And we should add a timeout value as well so you can say I want to wait at most 30 sec. etc.