[jboss-user] [JBoss Messaging] - Re: messages working only in one node of cluster

rudih do-not-reply at jboss.com
Wed Aug 9 11:51:37 EDT 2006


Thank you,
we found the problems solution:
topic was published with 5000 millis timeToLive, but  there was a differenc in system time of the 2 nodes in the cluster. Therefore the message had a time out on this node. Setting timeToLive to 0 resolved the problem.

TopicPublisher publisher = session.createPublisher(topic);
ObjectMessage message = session.createObjectMessage();
message.setObject(obj);
publisher.publish(message, deliveryMode, priority, timeToLive);

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964088#3964088

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964088



More information about the jboss-user mailing list