|
@SuppressWarnings("unchecked") |
|
public void queue (FullHttpRequest request, Context ctx) { |
|
sp.out(getQueue(request), ctx, 60000L); |
|
} |
Currently, the timeout is hard coded to 60000L, can we make the timeout configurable?
Since the routes can use different Txn Mgrs, a timeout per route would be good to have.
jPOS-EE/modules/qrest/src/main/java/org/jpos/qrest/RestServer.java
Lines 166 to 169 in 98e346b
Currently, the timeout is hard coded to 60000L, can we make the timeout configurable?
Since the routes can use different Txn Mgrs, a timeout per route would be good to have.