AnsweredAssumed Answered

retrieving last message from jms queue

Question asked by vinaykumar.ananthula@infosys.com on Apr 8, 2018

Dear Community,

My process is a scheduled one and have JMS get connection. The requirement is to read the only last message in the queue. for eg., me process is running once a 6 hours at 6 am, 12 pm, 6 pm an 12 am. At the time of execution of 12 pm,  if there are 4 messages in queue added at time 7 am, 7.30 am , 9 am and 11.30 am, i need  the message at 11.30 am only. how to achieve the same? 

Outcomes