当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
GenericDLQHandler (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.jms.inflow.dlq
Class GenericDLQHandler
java.lang.Object
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler
org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
- All Implemented Interfaces:
- DLQHandler, javax.jms.ExceptionListener
- public class GenericDLQHandler
- extends JBossMQDLQHandler
A Generic DLQ Handler
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
Methods inherited from class org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler |
doSend, getDeliveryMode, getPriority, getTimeToLive, handleRedeliveredMessage, handleSendError, makeWritable, 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 |
resent
protected HashMap resent
- Resent messages Map
GenericDLQHandler
public GenericDLQHandler()
messageDelivered
public void messageDelivered(javax.jms.Message msg)
- Description copied from interface:
DLQHandler
- Notification that the message was delivered
- Specified by:
messageDelivered
in interface DLQHandler
- Overrides:
messageDelivered
in class AbstractDLQHandler
handleDelivery
protected boolean handleDelivery(javax.jms.Message msg)
- Description copied from class:
AbstractDLQHandler
- Do we handle the message?
- Overrides:
handleDelivery
in class JBossMQDLQHandler
incrementResentCounter
protected int incrementResentCounter(String id)
- Increment the resent counter for the message id
- Parameters:
id
- the message id of the message
clearResentCounter
protected void clearResentCounter(String id)
- Remove the resent counter for the message id
- Parameters:
id
- the message id of the message
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.