Examples of routeMessage()


Examples of com.sun.messaging.jmq.jmsserver.core.Consumer.routeMessage()

                        ref.removeDelivered(c.getStoredConsumerUID(), true);
                        c.pause("start remote redeliver");
                        if (msgoutt != null) {
                            c.delayNextFetchForRemote(msgoutt.longValue());
                        }
                        c.routeMessage(ref, true);
                        c.resume("end remote redeliver");
                    }
                }
                return true;
            }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Consumer.routeMessage()

        int i;
        for (i = 0; i < targetVector.size(); i++) {
            Consumer interest = (Consumer)targetVector.get(i);

            if (!interest.routeMessage(ref, false)) {
                // it disappeard on us, take care of it
               try {
                    if (ref.acknowledged(interest.getConsumerUID(),
                          interest.getStoredConsumerUID(), true, false)) {
                        if (dsts == null) continue;
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.routeMessage()

                // dont bother calling route if there are no messages
                //
                // to improve performance, we route and later forward
                route = handler.queueMessage(d, ref, transacted);
   
                s = handler.routeMessage(transacted, ref, route, d);
   
                // handle producer flow control
                handler.pauseProducer(d, pausedProducer, con);
   
         } catch (BrokerException ex) {
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

                MessageReceiver receiver = getReceiverForURI(httpServletRequest);
           
                httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);
               
                MuleMessage message = receiver.createMuleMessage(httpServletRequest);
                MuleEvent event = receiver.routeMessage(message);
                MuleMessage returnMessage = event == null ? null : event.getMessage();
                writeResponse(httpServletResponse, returnMessage);
            }
        }
        catch (Exception e)
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

            httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);

            MuleMessage message = receiver.createMuleMessage(httpServletRequest,
                receiver.getEndpoint().getEncoding());
           
            MuleEvent event = receiver.routeMessage(message);
            MuleMessage returnMessage = event == null ? null : event.getMessage();
            writeResponse(httpServletResponse, returnMessage);
        }
        catch (Exception e)
        {
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

            httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);

            MuleMessage message = receiver.createMuleMessage(httpServletRequest,
                receiver.getEndpoint().getEncoding());
            receiver.routeMessage(message);

            httpServletResponse.setStatus(HttpServletResponse.SC_CREATED);
            if (feedback)
            {
                httpServletResponse.getWriter().write(
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

                message.setProperty(HttpConnector.HTTP_CONTEXT_PATH_PROPERTY,
                                           HttpConnector.normalizeUrl(receiver.getEndpointURI().getPath()),
                                           PropertyScope.INBOUND);

                preRouteMessage(message);
                MuleEvent returnEvent = receiver.routeMessage(message);
                MuleMessage returnMessage = returnEvent == null ? null : returnEvent.getMessage();

                Object tempResponse;
                if (returnMessage != null)
                {
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

                MessageReceiver receiver = getReceiverForURI(httpServletRequest);
           
                httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);
               
                MuleMessage message = receiver.createMuleMessage(httpServletRequest);
                MuleEvent event = receiver.routeMessage(message);
                MuleMessage returnMessage = event == null ? null : event.getMessage();
                writeResponse(httpServletResponse, returnMessage);
            }
        }
        catch (Exception e)
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

            httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);

            MuleMessage message = receiver.createMuleMessage(httpServletRequest,
                receiver.getEndpoint().getEncoding());
           
            MuleEvent event = receiver.routeMessage(message);
            MuleMessage returnMessage = event == null ? null : event.getMessage();
            writeResponse(httpServletResponse, returnMessage);
        }
        catch (Exception e)
        {
View Full Code Here

Examples of org.mule.api.transport.MessageReceiver.routeMessage()

            httpServletRequest.setAttribute(PAYLOAD_PARAMETER_NAME, payloadParameterName);

            MuleMessage message = receiver.createMuleMessage(httpServletRequest,
                receiver.getEndpoint().getEncoding());
            receiver.routeMessage(message);

            httpServletResponse.setStatus(HttpServletResponse.SC_CREATED);
            if (feedback)
            {
                httpServletResponse.getWriter().write(
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.