@Test(expected = NullPointerException.class) public void testNullEvent() throws Exception { final InvokerFlowComponent component = new InvokerFlowComponent("xxx"); component.process(null); }
@Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); }
InvokerFlowComponent implements MessageProcessor { @Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); } }
InvokerFlowComponent implements MessageProcessor { @Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); } InvokerFlowComponent(final String flowName); }
InvokerFlowComponent implements MessageProcessor { @Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); } InvokerFlowComponent(final String flowName); String getFlowName(); MessageProcessor getFlow(MuleContext muleContext); @Override MuleEvent process(MuleEvent event); }
InvokerFlowComponent implements MessageProcessor { @Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); } InvokerFlowComponent(final String flowName); String getFlowName(); MessageProcessor getFlow(MuleContext muleContext); @Override MuleEvent process(MuleEvent event);  }