Re: stomp and message expiration

2008-08-05 Thread Enrico Teotti
I've found the answer: http://markmail.org/message/fvef2ur5dim6vjkx "The expires property should be set to the time of expiration (in millis) instead of the span to now. " So in my tests I am going to add some milliseconds to System.currentTimeMillis(). Cheers, Enrico 2008/8/6 Enrico Teotti <[EMA

stomp and message expiration

2008-08-05 Thread Enrico Teotti
Hi, I am doing some tests with a standalone activemq broker and STOMP via telnet. I set up a producer and consumer and everything works fine. But when I send: SEND destination:/queue/FOO.BAR expires:2 expires in 20s ^@ the consumer doesn't receive it, instead (checking with jconsole) the me