{@link Exception} that demands a specific fault message to be sent back.TODO: think about a way to generalize it, as it seems to be useful in other places.
@author Kohsuke Kawaguchi
{@link Exception} that demands a specific fault message to be sent back.TODO: think about a way to generalize it, as it seems to be useful in other places.
@author Kohsuke Kawaguchi
if (resultEvent != null && !VoidMuleEvent.getInstance().equals(resultEvent))
{
response = resultEvent.getMessage();
if (response.getExceptionPayload() != null)
{
throw new DispatchException(MessageFactory.createStaticMessage("Unable to send or route message"), event, ep, response.getExceptionPayload().getRootException());
if (resultEvent != null && !VoidMuleEvent.getInstance().equals(resultEvent))
{
response = resultEvent.getMessage();
if (response.getExceptionPayload() != null)
{
throw new DispatchException(MessageFactory.createStaticMessage("Unable to send or route message"), event, ep, response.getExceptionPayload().getRootException());
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.