当前页面:
在线文档首页 >
JBoss 3.2.7 messaging API Documentation 英文版文档
NonPersistentInterceptor (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档
org.jboss.mq.server
Class NonPersistentInterceptor
java.lang.Object
org.jboss.mq.server.JMSServerInterceptorSupport
org.jboss.mq.server.NonPersistentInterceptor
- All Implemented Interfaces:
- JMSServerInterceptor
- public class NonPersistentInterceptor
- extends JMSServerInterceptorSupport
Makes all messages Non Persistent
- Version:
- $Revision: 1.1.2.1 $
- 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:
addMessage
in interface JMSServerInterceptor
- Overrides:
addMessage
in class JMSServerInterceptorSupport
- Parameters:
dc
- The feature to be added to the Message attributemessage
- 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:
transact
in interface JMSServerInterceptor
- Overrides:
transact
in class JMSServerInterceptorSupport
- Parameters:
dc
- Description of Parametert
- 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.