public class DestinationSource
extends java.lang.Object
implements javax.jms.MessageListener
| Constructor and Description |
|---|
DestinationSource(javax.jms.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireDestinationEvent(DestinationEvent event) |
DestinationListener |
getListener() |
java.util.Set<ActiveMQQueue> |
getQueues()
Returns the current queues available on the broker
|
java.util.Set<ActiveMQTempQueue> |
getTemporaryQueues()
Returns the current temporary topics available on the broker
|
java.util.Set<ActiveMQTempTopic> |
getTemporaryTopics()
Returns the current temporary queues available on the broker
|
java.util.Set<ActiveMQTopic> |
getTopics()
Returns the current topics on the broker
|
void |
onMessage(javax.jms.Message message) |
void |
setDestinationListener(DestinationListener listener) |
void |
start() |
void |
stop() |
public DestinationSource(javax.jms.Connection connection)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic DestinationListener getListener()
public void setDestinationListener(DestinationListener listener)
public java.util.Set<ActiveMQQueue> getQueues()
public java.util.Set<ActiveMQTopic> getTopics()
public java.util.Set<ActiveMQTempQueue> getTemporaryQueues()
public java.util.Set<ActiveMQTempTopic> getTemporaryTopics()
public void start()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void stop()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListenerprotected void fireDestinationEvent(DestinationEvent event)
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.