This discussion is archived
0 Replies Latest reply: Jul 13, 2010 7:54 AM by user639604 RSS

Subscription lost exception for message pattern

user639604 Journeyer
Currently Being Moderated
We are using message pattern 2.4 and Coherence 3.5.3 patch 1.

Seeing many subscription lost exception messages.

I don't see any straight forward way to set the subscription expiration. We'd like to make it infinite (i.e. the getMessage() will block forever until
a message has been put into the queue). Any suggest to get rid of this exception?

Regards,

Chen

************************************************************************************************************************

com.oracle.coherence.patterns.messaging.exceptions.SubscriptionLostException: Subscriber subscription was lost (with expired or the underlying destination has been removed)
     at com.oracle.coherence.patterns.messaging.AbstractSubscriber.ensureSubscription(AbstractSubscriber.java:282)
     at com.oracle.coherence.patterns.messaging.QueueSubscriber.getMessage(QueueSubscriber.java:81)


com.oracle.coherence.patterns.messaging.exceptions.SubscriptionLostException: Subscriber subscription was lost (with expired or the underlying destination has been removed)
     at com.oracle.coherence.patterns.messaging.AbstractSubscriber.ensureSubscription(AbstractSubscriber.java:282)
     at com.oracle.coherence.patterns.messaging.QueueSubscriber.getMessage(QueueSubscriber.java:81)


com.oracle.coherence.patterns.messaging.exceptions.SubscriptionLostException: Subscriber subscription was lost (with expired or the underlying destination has been removed)
     at com.oracle.coherence.patterns.messaging.AbstractSubscriber.ensureSubscription(AbstractSubscriber.java:282)
     at com.oracle.coherence.patterns.messaging.QueueSubscriber.getMessage(QueueSubscriber.java:81)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points