Announcement Announcement Module
Collapse
No announcement yet.
Setting TimeToLive for JmsInvokerProxyFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting TimeToLive for JmsInvokerProxyFactoryBean

    Hi,

    I'm using the JmsInvokerProxyFactoryBean to communicate with my remote instance, which does normally works fine. I set the receiveTimeout to 10000 milliseconds. Can I somehow also set the TimeToLive, so that MQ will delete the message from the queue as well?
    Otherwise the remote instance will receive a message when it's restartedbut the message is not 'valid' anymore and I don't want it to do something anymore.

    The only other option is to use JMSTemplate, but this is not as comfortable than remoting.
    By the way: I'm using Spring 3.0.5

    Thanks a lot
Working...
X