Package org.activemq.advisories

Examples of org.activemq.advisories.TempDestinationAdvisoryEvent


     * @param sender
     * @param message
     * @throws JMSException
     */
    void processTempDestinationAdvisory(BrokerClient sender, ActiveMQMessage message) throws JMSException {
        TempDestinationAdvisoryEvent event = (TempDestinationAdvisoryEvent) ((ObjectMessage) message).getObject();
        processTempDestinationAdvisory(event);
    }
View Full Code Here


    private void removeAllTempDestinations(BrokerClient sender, String clientId) {
        Set set = (Set) tempDestinations.remove(clientId);
        if (set != null) {
            for (Iterator i = set.iterator();i.hasNext();) {
                TempDestinationAdvisoryEvent event = (TempDestinationAdvisoryEvent) i.next();
                event.setStarted(false);
                processTempDestinationAdvisory(event);
                for (Iterator it = advisoryConsumers.iterator();it.hasNext();) {
                    ConsumerInfo advisory = (ConsumerInfo) it.next();
                    dispatchToTarget(sender, generateAdvisory(advisory, event));
                }
View Full Code Here

TOP

Related Classes of org.activemq.advisories.TempDestinationAdvisoryEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.