Package org.apache.geronimo.console.jmsmanager

Examples of org.apache.geronimo.console.jmsmanager.JMSDestinationInfo


            throws PortletException, IOException {       
        String resourceAdapterModuleName = request.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
        JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(request, resourceAdapterModuleName);
        JMSMessageInfo[] messages;
        try {
            JMSDestinationInfo jmsDestinationInfo = JMSDestinationInfo.create(request);
            messages = helper.getMessagesList(request, jmsDestinationInfo, null);
            request.setAttribute(MESSAGES, messages);
            request.getPortletSession(true).setAttribute(MESSAGES, messages);
        } catch (Exception e) {
            portlet.addErrorMessage(request, portlet.getLocalizedString(request, "activemq.errorMsg03"), e.getMessage());
View Full Code Here


                    String destType = admins[j].getAdminObjectInterface().indexOf("Queue") > -1 ? "Queue" : "Topic";
                    String vendorName = module.getVendorName();
                    DestinationStatistics destinationStat = null;
                    if (physicalName != null) {                       
                        try {
                            JMSDestinationInfo jmsDestinationInfo = new JMSDestinationInfo();
                            jmsDestinationInfo.setPhysicalName(physicalName);
                            jmsDestinationInfo.setType(destType);
                            jmsDestinationInfo.setResourceAdapterModuleAbName(PortletManager.getNameFor(renderRequest, module));
                            destinationStat = JMSMessageHelperFactory.getJMSMessageHelper(vendorName).getDestinationStatistics(renderRequest, jmsDestinationInfo);
                        } catch (JMSException e) {
                            destinationStat = new DestinationStatistics();
                        }
                    }
View Full Code Here

                    String destType = admins[j].getAdminObjectInterface().indexOf("Queue") > -1 ? "Queue" : "Topic";
                    String vendorName = module.getVendorName();
                    DestinationStatistics destinationStat = null;
                    if (physicalName != null) {                       
                        try {
                            JMSDestinationInfo jmsDestinationInfo = new JMSDestinationInfo();
                            jmsDestinationInfo.setPhysicalName(physicalName);
                            jmsDestinationInfo.setType(destType);
                            jmsDestinationInfo.setResourceAdapterModuleAbName(PortletManager.getNameFor(renderRequest, module));
                            destinationStat = JMSMessageHelperFactory.getJMSMessageHelper(vendorName).getDestinationStatistics(renderRequest, jmsDestinationInfo);
                        } catch (JMSException e) {
                            destinationStat = new DestinationStatistics();
                        }
                    }
View Full Code Here

            throws PortletException, IOException {       
        String resourceAdapterModuleName = request.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
        JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(request, resourceAdapterModuleName);
        JMSMessageInfo[] messages;
        try {
            JMSDestinationInfo jmsDestinationInfo = JMSDestinationInfo.create(request);
            messages = helper.getMessagesList(request, jmsDestinationInfo, null);
            request.setAttribute(MESSAGES, messages);
            request.getPortletSession(true).setAttribute(MESSAGES, messages);
        } catch (Exception e) {
            portlet.addErrorMessage(request, portlet.getLocalizedString(request, "activemq.errorMsg03"), e.getMessage());
View Full Code Here

            throws PortletException, IOException {       
        String resourceAdapterModuleName = request.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
        JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(request, resourceAdapterModuleName);
        JMSMessageInfo[] messages;
        try {
            JMSDestinationInfo jmsDestinationInfo = JMSDestinationInfo.create(request);
            messages = helper.getMessagesList(request, jmsDestinationInfo, null);
            request.setAttribute(MESSAGES, messages);
            request.getPortletSession(true).setAttribute(MESSAGES, messages);
        } catch (Exception e) {
            portlet.addErrorMessage(request, portlet.getLocalizedString(request, "activemq.errorMsg03"), e.getMessage());
View Full Code Here

                    String destType = admins[j].getAdminObjectInterface().indexOf("Queue") > -1 ? "Queue" : "Topic";
                    String vendorName = module.getVendorName();
                    DestinationStatistics destinationStat = null;
                    if (physicalName != null) {                       
                        try {
                            JMSDestinationInfo jmsDestinationInfo = new JMSDestinationInfo();
                            jmsDestinationInfo.setPhysicalName(physicalName);
                            jmsDestinationInfo.setType(destType);
                            jmsDestinationInfo.setResourceAdapterModuleAbName(PortletManager.getNameFor(renderRequest, module));
                            destinationStat = JMSMessageHelperFactory.getJMSMessageHelper(vendorName).getDestinationStatistics(renderRequest, jmsDestinationInfo);
                        } catch (JMSException e) {
                            destinationStat = new DestinationStatistics();
                        }
                    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.console.jmsmanager.JMSDestinationInfo

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.