Examples of processMessage()


Examples of org.apache.qpid.server.exchange.topic.TopicExchangeResult.processMessage()

                    for(Binding b : res.getBindings())
                    {
                        b.incrementMatches();
                    }

                    queues = res.processMessage(message, queues);
                }
                return queues;
        }

View Full Code Here

Examples of org.apache.sandesha.server.msgprocessors.IRMMessageProcessor.processMessage()

                CallbackData cbData = getCallbackData(rmMessageContext);
                callback.onIncomingMessage(cbData);
            }

            try {
                if (!rmMessageProcessor.processMessage(rmMessageContext)) {
                    msgContext.setPastPivot(true);
                    msgContext.setResponseMessage(null);
                } else {
                    msgContext.setPastPivot(true);
                }
View Full Code Here

Examples of org.apache.sandesha.server.msgprocessors.IRMMessageProcessor.processMessage()

            rmMessageContext.setRMHeaders(rmHeaders);
            AddressingHeaders addrHeaders = new AddressingHeaders(call.getResponseMessage().getSOAPEnvelope());
            rmMessageContext.setAddressingHeaders(addrHeaders);
            rmMessageContext.getMsgContext().setResponseMessage(call.getResponseMessage());
            IRMMessageProcessor messagePrcessor = RMMessageProcessorIdentifier.getMessageProcessor(rmMessageContext, storageManager);
            messagePrcessor.processMessage(rmMessageContext);
        }

        if (getCallback() != null) {
            CallbackData data = new CallbackData();
            data.setMessageId(rmMessageContext.getMessageID());
View Full Code Here

Examples of org.apache.sandesha.ws.rm.providers.RMProvider.processMessage()

        SOAPService soapService1 = new SOAPService();
        msgCtx1.setService(soapService1);


        RMProvider rmProvider = new RMProvider();
        rmProvider.processMessage(msgCtx1, null, null, null);
        SOAPBody sb = msgCtx1.getResponseMessage().getSOAPEnvelope().getBody();
        SOAPFault sf = sb.getFault();
        assertEquals(sf.getFaultString(), Constants.FaultMessages.UNKNOWN_SEQUENCE);

View Full Code Here

Examples of org.apache.sandesha2.msgprocessors.MsgProcessor.processMessage()

    if (msgProcessor == null)
      throw new AxisFault("Cant find a suitable message processor");

    try {
      msgProcessor.processMessage(rmMsgCtx);
    } catch (SandeshaException se) {
      se.printStackTrace();
      throw new AxisFault("Error in processing the message");
    }
View Full Code Here

Examples of org.jacorb.notification.engine.DefaultTaskProcessor.processMessage()

                    }
                }
            }
        };

        _taskProcessor.processMessage(_event);

        long timeoutF = System.currentTimeMillis() + timeout;
        synchronized(lock)
        {
            while (!_received.contains(_event) && System.currentTimeMillis() < timeoutF)
View Full Code Here

Examples of org.jacorb.notification.engine.DefaultTaskProcessor.processMessage()

                    _latch.countDown();
                }
            }
        };

        _taskProcessor.processMessage(_event);

        _latch.await();

        assertFalse(failed.get());
       
View Full Code Here

Examples of org.jacorb.notification.engine.TaskProcessor.processMessage()

        TaskProcessor mockTaskProcessor = (TaskProcessor) controlTaskProcessor.getMock();

        TypedEventMessage message = new TypedEventMessage();
        Message handle = message.getHandle();

        mockTaskProcessor.processMessage(handle);
        controlTaskProcessor.setMatcher(new AbstractMatcher()
        {
            protected boolean argumentMatches(Object exp, Object act)
            {
                Message mesg = (Message) exp;
View Full Code Here

Examples of org.jboss.as.ejb3.remote.protocol.MessageHandler.processMessage()

            // log a message that the message wasn't identified
            EjbLogger.ROOT_LOGGER.unsupportedMessageHeader(Integer.toHexString(header), channel);
            return;
        }
        // let the message handler process the message
        messageHandler.processMessage(channelAssociation, inputStream);
    }

    @Override
    public void listenerAdded(DeploymentRepository repository) {
        // get the initial available modules and send a message to the client
View Full Code Here

Examples of org.mule.execution.MuleMessageProcessingManager.processMessage()

        when(completeMessageProcessTemplateAndContext.validateMessage()).thenReturn(true);
        when(messageProcessPhase.compareTo(any(MessageProcessPhase.class))).thenCallRealMethod();
        when(messageProcessPhase.supportsTemplate(any(MessageProcessTemplate.class))).thenCallRealMethod();
        doCallRealMethod().when(messageProcessPhase).runPhase(any(MessageProcessTemplate.class), any(MessageProcessContext.class), any(PhaseResultNotifier.class));
        MuleMessageProcessingManager manager = createManagerUsingPhasesInRegistry(Arrays.<MessageProcessPhase>asList(messageProcessPhase));
        manager.processMessage(completeMessageProcessTemplateAndContext, completeMessageProcessTemplateAndContext);
        verify(completeMessageProcessTemplateAndContext, times(0)).routeEvent(any(MuleEvent.class));
        verify(completeMessageProcessTemplateAndContext, times(1)).validateMessage();
        verify(completeMessageProcessTemplateAndContext, times(1)).messageProcessingEnded();
    }
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.