Java Programmer wrote:
Hello,
Our system works nearly good when all is working well in it - now we
try to code some situations when something goes wrong e.g. remote
system go down and we need to timeout clients. We use CXF, so we setup
template.setReceiveTimeout(30000); where template is
org.springframework.jms.core.JmsTemplate; This works nice but after
several timeouts, the system stops to respond - I think that it is
fault of not consumed messages which blocks the queue, so we have
tried to set timeouts on JMS messages but it won't work to well -
system stopped responding and restart is needed.
Can you give us some hints about how to treat such situation when we
would like to timeout some old messages in the system (JBI or JMS)?
I'm not sure I understand your scenario.
Could you describe more details about your work flow? You use cxf provider or consumer over jms transport? And how can you use code like template.setReceiveTimeout(30000) to specify the timeout, generally we use busCfg to specify a spring configuration file to configure the jms transport client side timeout.
And another question is what tool you can recommend to browse or purge
JMS / ActiveMQ queues - we use standard jconsole on desktops, but
maybe there is something better?

And last thing we need the way to browse / purge queues also on Linux
GUI-free servers, without possibility of connecting directly with
jconsole (no VPN, and blocked server ports) - I see such tool in SMX
4, but we use 3.3 - what can be done with it?

Best regards,
Adrian


Reply via email to