com.mockobjects.jms
Class MockQueueSender

java.lang.Object
  extended bycom.mockobjects.MockObject
      extended bycom.mockobjects.jms.MockMessageProducer
          extended bycom.mockobjects.jms.MockQueueSender
All Implemented Interfaces:
Verifiable

public class MockQueueSender
extends MockMessageProducer


Constructor Summary
MockQueueSender()
           
 
Method Summary
 Queue getQueue()
           
 void send(Message message)
           
 void send(Message message, int deliveryMode, int priority, long timeToLive)
           
 void send(Queue queue, Message message)
           
 void send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive)
           
 void setExpectedSendCalls(int callCount)
           
 
Methods inherited from class com.mockobjects.jms.MockMessageProducer
close, getDeliveryMode, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setExpectedCloseCalls, setPriority, setTimeToLive, setupThrowException
 
Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockQueueSender

public MockQueueSender()
Method Detail

getQueue

public Queue getQueue()
               throws JMSException
Throws:
JMSException

send

public void send(Message message)
          throws JMSException
Throws:
JMSException

send

public void send(Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
Throws:
JMSException

send

public void send(Queue queue,
                 Message message)
          throws JMSException
Throws:
JMSException

send

public void send(Queue queue,
                 Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
          throws JMSException
Throws:
JMSException

setExpectedSendCalls

public void setExpectedSendCalls(int callCount)


Copyright © 2002 Mock Objects. All Rights Reserved.