roq-messaging / RoQ

RoQ, Elastically scalable MOM
21 stars 4 forks source link

.setHWM() does not do anything if ZMQ version >= 3.0.0 #145

Closed jbruggem closed 11 years ago

jbruggem commented 11 years ago

We should replace calls to setHWM by calls to setSndHWM and setRcvHWM, and take the opportunity to replace the hard-coded values by configuration options.

Ref: https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L895

I haven't audited all the code, but the function call occurs at least in Exchange.java and SubscriberConnectionManager.java.