Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
To be reviewed
-
Resolution: Won't Fix or Usage Issue
-
Affects Version/s: 2.2.1
-
Fix Version/s: None
-
Component/s: Transport: HTTP(S) / Jetty
-
Labels:None
-
Environment:
- Version: 2.2.1 Build: 14422
- JDK: 1.5.0_17 (mixed mode)
- OS: Windows Vista - Service Pack 1 (6.0, x86)
-
User impact:High
-
Configuration:
-
Similar Issues:None
Description
In the specified configuration, the response transformers on the http:outbound-endpoint are not applied. If I move the transformer to the consoleOut transformers, I get the 'desired' result (the exception is thrown), but outside this test I would like to work with a response transformer (which of course does not throw exceptions).
The Java Code for the transformer:
import org.mule.api.transformer.TransformerException;
import org.mule.transformer.AbstractTransformer;
public class ExceptionThrower extends AbstractTransformer {
@Override
protected Object doTransform(Object src, String encoding)
throws TransformerException {
throw new RuntimeException("got here");
}
}
An example web service which can be used to test the problem. Can be deployed to tomcat (the root, otherwise change the config accordingly) from eclipse.