Re: How to retrieve only the last message from 10 messages passed to queue
Maybe a queue isn't a good solution to the problem you're solving On Mon, Nov 11, 2013 at 8:45 PM, Rajalakshmi Raman rajalakshmi.ra...@wipro.com wrote: I needs to be remained in activemq. But while passing to browser it should only the last message. Thanks Raji -- View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024p5743067.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta
How to retrieve only the last message from 10 messages passed to queue
I am trying to get only only the last message from 10 messages passed to queue. I read messages in XML format and extracted the dat and passed to activemq. My message in activemq in the form Sending message Broadcast Message 37 pReceived on : Mon Nov 11 15:41:2 5 IST 2013EURUSR1.358EUR/USR97.1296.70597.296.5650.4150.428.50.21EUR/USR1.60551. 60971.61011.6043-0.0041-0.268.50.21EUR/USR0.90540.90280.90670.90260.00250.288.50 .21EUR/USR0.94430.94280.94520.9410.00150.168.50.22EUR/USR1.03311.03131.03361.030 70.00180.178.50.21EUR/USR0.83020.83040.83160.827-0.0003-0.038.50.21EUR/USR6.1219 6.12056.12216.11790.00140.028:48 Help me to resolve Thanks Raji -- View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to retrieve only the last message from 10 messages passed to queue
Hi, take a look to advisory messages for activemq. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024p5743037.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to retrieve only the last message from 10 messages passed to queue
What should happen to the messages ahead of the last 10? can those be tossed away? or do those need to remain somehow? On Mon, Nov 11, 2013 at 3:35 AM, Rajalakshmi Raman rajalakshmi.ra...@wipro.com wrote: I am trying to get only only the last message from 10 messages passed to queue. I read messages in XML format and extracted the dat and passed to activemq. My message in activemq in the form Sending message Broadcast Message 37 pReceived on : Mon Nov 11 15:41:2 5 IST 2013EURUSR1.358EUR/USR97.1296.70597.296.5650.4150.428.50.21EUR/USR1.60551. 60971.61011.6043-0.0041-0.268.50.21EUR/USR0.90540.90280.90670.90260.00250.288.50 .21EUR/USR0.94430.94280.94520.9410.00150.168.50.22EUR/USR1.03311.03131.03361.030 70.00180.178.50.21EUR/USR0.83020.83040.83160.827-0.0003-0.038.50.21EUR/USR6.1219 6.12056.12216.11790.00140.028:48 Help me to resolve Thanks Raji -- View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta
Re: How to retrieve only the last message from 10 messages passed to queue
I needs to be remained in activemq. But while passing to browser it should only the last message. Thanks Raji -- View this message in context: http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024p5743067.html Sent from the Camel - Users mailing list archive at Nabble.com.