spring - timeout interval between receiving a message and acknowledging it -


what timeout interval ( between receiving message , acknowledging ) if using activemqsession.individual_acknowledge , can configure it?

the spring code queue

activemqconnectionfactory amqconnectionfactory = new activemqconnectionfactory(); cachingconnectionfactory cachingconnectionfactory = new cachingconnectionfactory(amqconnectionfactory); activemqqueue activemqqueue = new activemqqueue("cr.default.queue"); jmstemplate jmstemplate = new jmstemplate(); jmstemplate.setconnectionfactory(cachingconnectionfactory); jmstemplate.setdefaultdestination(activemqqueue); jmstemplate.setsessionacknowledgemode(activemqsession.individual_acknowledge); jmstemplate.setreceivetimeout(jmsdestinationaccessor.receive_timeout_no_wait);


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -