public abstract class MockMessageProducer extends MockObject
| Constructor and Description |
|---|
MockMessageProducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getDeliveryMode() |
boolean |
getDisableMessageID() |
boolean |
getDisableMessageTimestamp() |
int |
getPriority() |
long |
getTimeToLive() |
void |
setDeliveryMode(int deliveryMode) |
void |
setDisableMessageID(boolean value) |
void |
setDisableMessageTimestamp(boolean value) |
void |
setExpectedCloseCalls(int callCount) |
void |
setPriority(int defaultPriority) |
void |
setTimeToLive(long timeToLive) |
void |
setupThrowException(JMSException e) |
notImplemented, notYetImplemented, verifypublic void close()
throws JMSException
JMSExceptionpublic int getDeliveryMode()
throws JMSException
JMSExceptionpublic boolean getDisableMessageID()
throws JMSException
JMSExceptionpublic boolean getDisableMessageTimestamp()
throws JMSException
JMSExceptionpublic int getPriority()
throws JMSException
JMSExceptionpublic long getTimeToLive()
throws JMSException
JMSExceptionpublic void setDeliveryMode(int deliveryMode)
throws JMSException
JMSExceptionpublic void setDisableMessageID(boolean value)
throws JMSException
JMSExceptionpublic void setDisableMessageTimestamp(boolean value)
throws JMSException
JMSExceptionpublic void setPriority(int defaultPriority)
throws JMSException
JMSExceptionpublic void setTimeToLive(long timeToLive)
throws JMSException
JMSExceptionpublic void setExpectedCloseCalls(int callCount)
public void setupThrowException(JMSException e)
Copyright © 2002 Mock Objects. All Rights Reserved.