FileDocCategorySizeDatePackage
DLQHandler.javaAPI DocJBoss 4.2.12382Fri Jul 13 21:01:16 BST 2007org.jboss.resource.adapter.jms.inflow

DLQHandler

public interface DLQHandler
An interface for DLQ Handling
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
static final String
JBOSS_ORIG_DESTINATION
JMS property name holding original destination.
static final String
JBOSS_ORIG_MESSAGEID
JMS property name holding original JMS message id.
static final String
PROPERTY_DELIVERY_COUNT
Standard property for delivery count
Constructors Summary
Methods Summary
public booleanhandleRedeliveredMessage(javax.jms.Message msg)
Check whether the DLQ should handle the message

param
msg the message about to be delivered
return
true if the message is handled and should not be delivered

public voidmessageDelivered(javax.jms.Message msg)
Notification that the message was delivered

param
msg the message that was delivered

public voidsetup(JmsActivation activation, javax.naming.Context ctx)
Set up the DLQ

param
activation the activation
param
ctx the naming context
throws
Exception for any error

public voidteardown()
Tear down the DLQ