Package com.adito.notification.Notifier

Examples of com.adito.notification.Notifier.MessageWrapper


     * @see org.apache.struts.actions.DispatchAction#unspecified(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     */
    public ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            try {
                long messageId = Long.parseLong(request.getParameter("messageId"));
                MessageWrapper message = CoreServlet.getServlet().getNotifier().getMessage(messageId);
                request.setAttribute(Constants.REQ_ATTR_INFO_RESOURCE, message);
                return messageQueueInformation(mapping, form, request, response);
            } catch (Exception e) {
              log.error("Failed to get message information. ", e);
              response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e.getMessage());               
View Full Code Here

TOP

Related Classes of com.adito.notification.Notifier.MessageWrapper

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.