com.github.smokestack.jms
Class MockQueue
java.lang.Object
com.github.smokestack.jms.MockQueue
- All Implemented Interfaces:
- Serializable, Destination, Queue, Referenceable
public class MockQueue
- extends Object
- implements Queue, Serializable, Referenceable
- Author:
- gliptak
- See Also:
- Serialized Form
queueName
protected String queueName
reference
protected Reference reference
MockQueue
public MockQueue(String queueName)
- Parameters:
queueName
-
getQueueName
public String getQueueName()
throws JMSException
- Specified by:
getQueueName
in interface Queue
- Throws:
JMSException
_getQueueName
public String _getQueueName()
throws JMSException
- Throws:
JMSException
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference
in interface Referenceable
- Throws:
NamingException
_getReference
public Reference _getReference()
throws NamingException
- Throws:
NamingException
setReference
public void setReference(Reference reference)
- Making a setter available
- Parameters:
reference
-
_setReference
public void _setReference(Reference reference)
toString
public String toString()
- Specified by:
toString
in interface Queue
- Overrides:
toString
in class Object
Copyright © 2009-2010 Smokestack. All Rights Reserved.