| java.lang.Object org.mockejb.jms.MockProducer org.mockejb.jms.QueueSenderImpl
QueueSenderImpl | class QueueSenderImpl extends MockProducer implements QueueSender(Code) | | QueueSender implementation.
Supports only queues, which are instances of MockQueue
author: Dimitar Gospodinov See Also: javax.jms.QueueSender |
Method Summary | |
public Queue | getQueue() | public void | send(Queue queue, Message msg) | public void | send(Queue queue, Message msg, int deliveryMode, int priority, long timeToLive) |
QueueSenderImpl | QueueSenderImpl(MockQueue queue)(Code) | | Creates queue sender for queue
Parameters: queue - |
getQueue | public Queue getQueue() throws JMSException(Code) | | See Also: javax.jms.QueueSender.getQueue |
send | public void send(Queue queue, Message msg) throws JMSException(Code) | | See Also: javax.jms.QueueSender.send(javax.jms.Queuejavax.jms.Message) |
send | public void send(Queue queue, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code) | | See Also: javax.jms.QueueSender.send(javax.jms.Queuejavax.jms.Messageintintlong) |
Methods inherited from org.mockejb.jms.MockProducer | protected void checkDestination(boolean unidentifiedDestinationCheck)(Code)(Java Doc) public void close() throws JMSException(Code)(Java Doc) public int getDeliveryMode() throws JMSException(Code)(Java Doc) public Destination getDestination() throws JMSException(Code)(Java Doc) public boolean getDisableMessageID() throws JMSException(Code)(Java Doc) public boolean getDisableMessageTimestamp() throws JMSException(Code)(Java Doc) protected static synchronized int getMessageId()(Code)(Java Doc) public int getPriority() throws JMSException(Code)(Java Doc) public long getTimeToLive() throws JMSException(Code)(Java Doc) public void send(Message msg) throws JMSException(Code)(Java Doc) public void send(Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) public void send(Destination destination, Message msg) throws JMSException(Code)(Java Doc) public void send(Destination destination, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) protected static void sendMessage(MockDestination destination, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) public void setDeliveryMode(int deliveryMode) throws JMSException(Code)(Java Doc) public void setDisableMessageID(boolean arg0) throws JMSException(Code)(Java Doc) public void setDisableMessageTimestamp(boolean arg0) throws JMSException(Code)(Java Doc) public void setPriority(int priority) throws JMSException(Code)(Java Doc) public void setTimeToLive(long timeToLive) throws JMSException(Code)(Java Doc)
|
|
|