org.jboss.resource.adapter.jms.inflow.dlq
Class JBossMQDLQHandler
java.lang.Object
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler (src)
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler
- All Implemented Interfaces:
- DLQHandler (src) , ExceptionListener (src)
- Direct Known Subclasses:
- GenericDLQHandler (src)
- public class JBossMQDLQHandler
- extends AbstractDLQHandler (src)
A DLQ Handler that knows about JBossMQ redelivery properties
| Methods inherited from class org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler (src) |
doSend, getDeliveryMode, getPriority, getTimeToLive, handleRedeliveredMessage, handleSendError, makeWritable, messageDelivered, onException, sendToDLQ, setupDLQConnection, setupDLQDestination, teardown, teardownDLQConnection, teardownDLQDestination, warnDLQ |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMS_JBOSS_REDELIVERY_COUNT
protected static final java.lang.String JMS_JBOSS_REDELIVERY_COUNT
- Properties copied from org.jboss.mq.SpyMessage
- See Also:
- Constant Field Values (src)
JMS_JBOSS_REDELIVERY_LIMIT
protected static final java.lang.String JMS_JBOSS_REDELIVERY_LIMIT
- Properties copied from org.jboss.mq.SpyMessage
- See Also:
- Constant Field Values (src)
maxResent
protected int maxResent
- The maximum number of resends
JBossMQDLQHandler
public JBossMQDLQHandler()
setup
public void setup(JmsActivation (src) activation,
javax.naming.Context ctx)
throws java.lang.Exception
- Description copied from interface:
DLQHandler (src)
- Set up the DLQ
- Specified by:
setup in interface DLQHandler (src) - Overrides:
setup in class AbstractDLQHandler (src)
- Throws:
java.lang.Exception
handleDelivery
protected boolean handleDelivery(Message (src) msg)
- Description copied from class:
AbstractDLQHandler (src)
- Do we handle the message?
- Specified by:
handleDelivery in class AbstractDLQHandler (src)
- Parameters:
msg - the message to handle
- Returns:
- true when we handle it