org.fusesource.rider.sample.camelamqweb
Class SampleProducerAndConsumer
java.lang.Object
org.fusesource.rider.sample.camelamqweb.SampleProducerAndConsumer
public class SampleProducerAndConsumer
- extends java.lang.Object
A sample JMS client that creates a producer & consumer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleProducerAndConsumer
public SampleProducerAndConsumer(javax.jms.ConnectionFactory connectionFactory)
start
@PostConstruct
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
@PreDestroy
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
getQueueName
public java.lang.String getQueueName()
setQueueName
public void setQueueName(java.lang.String queueName)
getDestination
public javax.jms.Destination getDestination()
setDestination
public void setDestination(javax.jms.Destination destination)
getMessageListener
public javax.jms.MessageListener getMessageListener()
setMessageListener
public void setMessageListener(javax.jms.MessageListener messageListener)
isDynamicDestination
public boolean isDynamicDestination()
setDynamicDestination
public void setDynamicDestination(boolean dynamicDestination)
Copyright © 2012 FuseSource. All Rights Reserved.