org.apache.activemq.tool
Class MemProducer
java.lang.Object
org.apache.activemq.tool.MemProducer
public class MemProducer
- extends Object
- Version:
- $Revision: 1.3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected Connection connection
producer
protected MessageProducer producer
MemProducer
public MemProducer(ConnectionFactory fac,
Destination dest)
throws JMSException
- Throws:
JMSException
setDeliveryMode
public void setDeliveryMode(int mode)
throws JMSException
- Throws:
JMSException
start
public void start()
throws JMSException
- Throws:
JMSException
stop
public void stop()
throws JMSException
- Throws:
JMSException
shutDown
public void shutDown()
throws JMSException
- Throws:
JMSException
sendMessage
public void sendMessage(Message msg)
throws JMSException
- Throws:
JMSException
sendMessage
public void sendMessage(Message msg,
String headerName,
long headerValue)
throws JMSException
- Throws:
JMSException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.