当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
NonPersistentInterceptor (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq.server
Class NonPersistentInterceptor
java.lang.Object
   org.jboss.mq.server.JMSServerInterceptorSupport
org.jboss.mq.server.JMSServerInterceptorSupport
       org.jboss.mq.server.NonPersistentInterceptor
org.jboss.mq.server.NonPersistentInterceptor
- All Implemented Interfaces: 
- JMSServerInterceptor
- public class NonPersistentInterceptor- extends JMSServerInterceptorSupport
Makes all messages Non Persistent
- Version:
- $Revision: 1.2 $
- Author:
- Adrian Brock
 
 
 
 
| Methods inherited from class org.jboss.mq.server.JMSServerInterceptorSupport | 
| 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 | 
 
NonPersistentInterceptor
public NonPersistentInterceptor()
addMessage
public void addMessage(ConnectionToken dc,
                       SpyMessage message)
                throws javax.jms.JMSException
- Description copied from class: JMSServerInterceptorSupport
- Add the message to the destination.
 
- 
- Specified by:
- addMessagein interface- JMSServerInterceptor
- Overrides:
- addMessagein class- JMSServerInterceptorSupport
 
- 
- Parameters:
- dc- The feature to be added to the Message attribute
- message- The feature to be added to the Message attribute
- Throws:
- javax.jms.JMSException- Description of Exception
 
transact
public void transact(ConnectionToken dc,
                     TransactionRequest t)
              throws javax.jms.JMSException
- Description copied from class: JMSServerInterceptorSupport
- #Description of the Method
 
- 
- Specified by:
- transactin interface- JMSServerInterceptor
- Overrides:
- transactin class- JMSServerInterceptorSupport
 
- 
- Parameters:
- dc- Description of Parameter
- t- Description of Parameter
- Throws:
- javax.jms.JMSException- Description of Exception
 
makeNonPersistent
protected void makeNonPersistent(SpyMessage message)
                          throws javax.jms.JMSException
- Overrides the message to be Non Persistent
 
- 
- Parameters:
- message- the message
- Throws:
- javax.jms.JMSException- for any error
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.