Hi Tharindu, Message acknowledge handle at client side, not in the server side. In your JMS program, set acknowledgement mode to CLIENT_ACKNOWLEDGE
queueSession = queueConnection.createQueueSession(false, QueueSession.CLIENT_ACKNOWLEDGE); When client receives message, do the acknowlegment explicitly. TextMessage message = (TextMessage) consumer.receive(); message.acknowledge(); Cheers! On Mon, Aug 8, 2016 at 12:55 PM, Tharindu Edirisinghe <[email protected]> wrote: > Hi Devs, > > By default, $subject is *AUTO_ACKNOWLEDGE* as mentioned in WSO2 > documentation. > > I need to change this behavior to keep messages until it gets the > acknowledgment for that. > > What are the changes I need to do? Is it only the config change in > axis2.xml or need to change in subscriber as well ? > > Thanks, > TharinduE > > -- > > Tharindu Edirisinghe > Senior Software Engineer | WSO2 Inc > Platform Security Team > Blog : tharindue.blogspot.com > mobile : +94 775181586 > -- Indika Sampath Senior Software Engineer WSO2 Inc. http://wso2.com Phone: +94 716 424 744 Blog: http://indikasampath.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
