-
1. Re: Message Consumer not working
clebert.suconic Feb 16, 2012 3:35 PM (in response to crb)Hard to say without seeing any code.
Are you sure you didn't leak connections / etc? Maybe there's a leaked consumer in your application? (You should close your resources properly on that case).
-
2. Re: Message Consumer not working
crb Feb 16, 2012 3:47 PM (in response to clebert.suconic)I was also thinking that is the problem so i write a simple class with a command line output for the received messages. Same problem and always on the same Clients. I also used different Ports. Tomorrow i will test the connection Stream with wireshark.
-
3. Re: Message Consumer not working
crb Feb 17, 2012 12:39 PM (in response to crb)I figured out the problem the time on the Clients are in the future and on the server are in the past. Can some where explain me the setTimeToLive on a Producer, i was thinking that the server not send the message to a consumer if the time is expired. Why the client handle the expiration???
I found also an old entry with the same problem:
-
4. Re: Message Consumer not working
jbertram Feb 17, 2012 1:54 PM (in response to crb)See Tim's comment on HORNETQ-152.
-
5. Re: Message Consumer not working
clebert.suconic Feb 17, 2012 6:14 PM (in response to crb)This was also discussed on the JMS 2 expert group. Everybody has agreed that this is the expected behaviour. However the new simplified JMS will simplify this. (that's the expecation at least).
The JMS api was designed a few years ago, with a goal of the Message possibly being reused by different brokers, as a result this property had to be exposed for the integration purposes. There would be other ways of changing that but at this point this is a common issue on the JMS API. Users are supposed to known the meaning of this property.