|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler (src)
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler (src)
org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
A Generic DLQ Handler
Nested Class Summary | |
protected static class |
GenericDLQHandler.ResentInfo (src)
Resent Info |
Field Summary | |
protected java.util.HashMap |
resent
Resent messages Map |
Fields inherited from class org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler (src) |
JMS_JBOSS_REDELIVERY_COUNT, JMS_JBOSS_REDELIVERY_LIMIT, maxResent |
Fields inherited from class org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler (src) |
activation, connection, dlq, log |
Fields inherited from interface org.jboss.resource.adapter.jms.inflow.DLQHandler (src) |
JBOSS_ORIG_DESTINATION, JBOSS_ORIG_MESSAGEID |
Constructor Summary | |
GenericDLQHandler()
|
Method Summary | |
protected void |
clearResentCounter(java.lang.String id)
Remove the resent counter for the message id |
protected boolean |
handleDelivery(Message (src) msg)
Do we handle the message? |
protected int |
incrementResentCounter(java.lang.String id)
Increment the resent counter for the message id |
void |
messageDelivered(Message (src) msg)
Notification that the message was delivered |
Methods inherited from class org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler (src) |
setup |
Methods inherited from class org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler (src) |
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 |
Field Detail |
protected java.util.HashMap resent
Constructor Detail |
public GenericDLQHandler()
Method Detail |
public void messageDelivered(Message (src) msg)
DLQHandler (src)
messageDelivered
in interface DLQHandler (src)
messageDelivered
in class AbstractDLQHandler (src)
protected boolean handleDelivery(Message (src) msg)
AbstractDLQHandler (src)
handleDelivery
in class JBossMQDLQHandler (src)
protected int incrementResentCounter(java.lang.String id)
id
- the message id of the messageprotected void clearResentCounter(java.lang.String id)
id
- the message id of the message
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |