0 Replies Latest reply: Jul 13, 2010 9:54 AM by user639604 RSS

    Subscription lost exception for message pattern

    user639604
      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)