Package org.apache.geronimo.console.jmsmanager.helper

Examples of org.apache.geronimo.console.jmsmanager.helper.JMSMessageHelper.purge()


        if (purgeStr != null) {
            String physicalName = actionRequest.getParameter(PHYSICAL_NAME);
            String resourceAdapterModuleName = actionRequest.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
            JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(actionRequest, resourceAdapterModuleName);
            try {
                helper.purge(actionRequest, JMSDestinationInfo.create(actionRequest));
            } catch (Exception e) {
                portlet.addErrorMessage(actionRequest, portlet.getLocalizedString(actionRequest, "activemq.errorMsg04", physicalName), e.getMessage());
                logger.error("Fail to purge message destination " + physicalName, e);
            }
        }
View Full Code Here


        if (purgeStr != null) {
            String physicalName = actionRequest.getParameter(PHYSICAL_NAME);
            String resourceAdapterModuleName = actionRequest.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
            JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(actionRequest, resourceAdapterModuleName);
            try {
                helper.purge(actionRequest, JMSDestinationInfo.create(actionRequest));
            } catch (Exception e) {
                portlet.addErrorMessage(actionRequest, portlet.getLocalizedString(actionRequest, "activemq.errorMsg04", physicalName), e.getMessage());
                logger.error("Fail to purge message destination " + physicalName, e);
            }
        }
View Full Code Here

        if (purgeStr != null) {
            String physicalName = actionRequest.getParameter(PHYSICAL_NAME);
            String resourceAdapterModuleName = actionRequest.getParameter(RESOURCE_ADAPTER_MODULE_NAME);
            JMSMessageHelper helper = JMSMessageHelperFactory.getMessageHelper(actionRequest, resourceAdapterModuleName);
            try {
                helper.purge(actionRequest, JMSDestinationInfo.create(actionRequest));
            } catch (Exception e) {
                portlet.addErrorMessage(actionRequest, portlet.getLocalizedString(actionRequest, "activemq.errorMsg04", physicalName), e.getMessage());
                logger.error("Fail to purge message destination " + physicalName, e);
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.