当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
JBossMQDLQHandler (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.jms.inflow.dlq
Class JBossMQDLQHandler
java.lang.Object
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler
- All Implemented Interfaces:
- DLQHandler, javax.jms.ExceptionListener
- Direct Known Subclasses:
- GenericDLQHandler
- public class JBossMQDLQHandler
- extends AbstractDLQHandler
A DLQ Handler that knows about JBossMQ redelivery properties
- Version:
- $Revision: 1.1.2.1 $
- Author:
- Adrian Brock
Methods inherited from class org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler |
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 String JMS_JBOSS_REDELIVERY_COUNT
- Properties copied from org.jboss.mq.SpyMessage
- See Also:
- Constant Field Values
JMS_JBOSS_REDELIVERY_LIMIT
protected static final String JMS_JBOSS_REDELIVERY_LIMIT
- Properties copied from org.jboss.mq.SpyMessage
- See Also:
- Constant Field Values
maxResent
protected int maxResent
- The maximum number of resends
JBossMQDLQHandler
public JBossMQDLQHandler()
setup
public void setup(JmsActivation activation,
Context ctx)
throws Exception
- Description copied from interface:
DLQHandler
- Set up the DLQ
- Specified by:
setup
in interface DLQHandler
- Overrides:
setup
in class AbstractDLQHandler
- Throws:
Exception
handleDelivery
protected boolean handleDelivery(javax.jms.Message msg)
- Description copied from class:
AbstractDLQHandler
- Do we handle the message?
- Specified by:
handleDelivery
in class AbstractDLQHandler
- Parameters:
msg
- the message to handle
- Returns:
- true when we handle it
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.