com.sun.genericra.inbound
Class ReconnectHelper

java.lang.Object
  extended by com.sun.genericra.inbound.ReconnectHelper
All Implemented Interfaces:
javax.jms.ExceptionListener

public class ReconnectHelper
extends java.lang.Object
implements javax.jms.ExceptionListener

Helper class that enables redelivery in case connection generates an Exception.

Author:
Binod P.G

Constructor Summary
ReconnectHelper(InboundJmsResourcePool pool, EndpointConsumer consumer)
           
 
Method Summary
 InboundJmsResourcePool getPool()
           
 void onException(javax.jms.JMSException exception)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconnectHelper

public ReconnectHelper(InboundJmsResourcePool pool,
                       EndpointConsumer consumer)
Method Detail

onException

public void onException(javax.jms.JMSException exception)
Specified by:
onException in interface javax.jms.ExceptionListener

getPool

public InboundJmsResourcePool getPool()