org.jboss.mq.server
Class NonPersistentInterceptor

java.lang.Object
  extended byorg.jboss.mq.server.JMSServerInterceptorSupport (src) 
      extended byorg.jboss.mq.server.NonPersistentInterceptor
All Implemented Interfaces:
JMSServerInterceptor (src)

public class NonPersistentInterceptor
extends JMSServerInterceptorSupport (src)

Makes all messages Non Persistent


Field Summary
 
Fields inherited from class org.jboss.mq.server.JMSServerInterceptorSupport (src)
log, nextInterceptor
 
Constructor Summary
NonPersistentInterceptor()
           
 
Method Summary
 void addMessage(ConnectionToken (src)  dc, SpyMessage (src)  message)
          Add the message to the destination.
protected  void makeNonPersistent(SpyMessage (src)  message)
          Overrides the message to be Non Persistent
 void transact(ConnectionToken (src)  dc, TransactionRequest (src)  t)
          #Description of the Method
 
Methods inherited from class org.jboss.mq.server.JMSServerInterceptorSupport (src)
acknowledge, authenticate, browse, checkID, checkUser, connectionClosing, createQueue, createTopic, deleteTemporaryDestination, destroySubscription, getDurableTopic, getID, getNext, getSubscription, getTemporaryQueue, getTemporaryTopic, getThreadGroup, ping, receive, setEnabled, setNext, subscribe, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonPersistentInterceptor

public NonPersistentInterceptor()
Method Detail

addMessage

public void addMessage(ConnectionToken (src)  dc,
                       SpyMessage (src)  message)
                throws JMSException (src) 
Description copied from class: JMSServerInterceptorSupport (src)
Add the message to the destination.

Specified by:
addMessage in interface JMSServerInterceptor (src)
Overrides:
addMessage in class JMSServerInterceptorSupport (src)
Parameters:
dc - The feature to be added to the Message attribute
message - The feature to be added to the Message attribute
Throws:
JMSException (src) - Description of Exception

transact

public void transact(ConnectionToken (src)  dc,
                     TransactionRequest (src)  t)
              throws JMSException (src) 
Description copied from class: JMSServerInterceptorSupport (src)
#Description of the Method

Specified by:
transact in interface JMSServerInterceptor (src)
Overrides:
transact in class JMSServerInterceptorSupport (src)
Parameters:
dc - Description of Parameter
t - Description of Parameter
Throws:
JMSException (src) - Description of Exception

makeNonPersistent

protected void makeNonPersistent(SpyMessage (src)  message)
                          throws JMSException (src) 
Overrides the message to be Non Persistent

Parameters:
message - the message
Throws:
JMSException (src) - for any error