xmlBlaster 2.2.0 API

org.xmlBlaster.jms
Class XBDestination

java.lang.Object
  extended by org.xmlBlaster.jms.XBDestination
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, javax.jms.Destination, javax.jms.Queue, javax.jms.Topic, javax.naming.Referenceable
Direct Known Subclasses:
XBTemporaryQueue, XBTemporaryTopic

public class XBDestination
extends java.lang.Object
implements javax.jms.Topic, javax.jms.Queue, javax.jms.Destination, javax.naming.Referenceable, java.io.Externalizable

XBTopic

Author:
Michele Laghi
See Also:
Serialized Form

Field Summary
private  boolean forceQueuing
           
private static java.lang.String ME
           
private  java.lang.String queueName
           
private static long serialVersionUID
           
private  java.lang.String topicName
           
 
Constructor Summary
XBDestination()
           
XBDestination(java.lang.String topicName, java.lang.String queueName)
          We can pass multiple queues by specifying as the queue name a comma separated list of queues.
XBDestination(java.lang.String topicName, java.lang.String queueName, boolean forceQueuing)
           
 
Method Summary
 boolean getForceQueuing()
           
 java.lang.String getQueueName()
           
 javax.naming.Reference getReference()
           
 java.lang.String getTopicName()
           
 void readExternal(java.io.ObjectInput oi)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput oo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ME

private static final java.lang.String ME
See Also:
Constant Field Values

topicName

private java.lang.String topicName

queueName

private java.lang.String queueName

forceQueuing

private boolean forceQueuing
Constructor Detail

XBDestination

public XBDestination()

XBDestination

public XBDestination(java.lang.String topicName,
                     java.lang.String queueName)
We can pass multiple queues by specifying as the queue name a comma separated list of queues. This is an extention to jms.

Parameters:
topicName -
queueName -

XBDestination

public XBDestination(java.lang.String topicName,
                     java.lang.String queueName,
                     boolean forceQueuing)
Method Detail

getTopicName

public java.lang.String getTopicName()
                              throws javax.jms.JMSException
Specified by:
getTopicName in interface javax.jms.Topic
Throws:
javax.jms.JMSException

getForceQueuing

public boolean getForceQueuing()
                        throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getQueueName

public java.lang.String getQueueName()
                              throws javax.jms.JMSException
Specified by:
getQueueName in interface javax.jms.Queue
Throws:
javax.jms.JMSException
See Also:
Queue.getQueueName()

toString

public java.lang.String toString()
Specified by:
toString in interface javax.jms.Queue
Specified by:
toString in interface javax.jms.Topic
Overrides:
toString in class java.lang.Object

getReference

public javax.naming.Reference getReference()
Specified by:
getReference in interface javax.naming.Referenceable

readExternal

public void readExternal(java.io.ObjectInput oi)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput oo)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.