return "org/mule/test/components/entry-point-resolver-cache.xml";
}
public void testCache() throws Exception
{
MuleClient clt = new MuleClient(muleContext);
MuleMessage response = null;
HashMap<String, Object> propertyMap = new HashMap<String, Object>();
propertyMap.put("method", "retrieveReferenceData");
response = clt.send("refOneInbound", "a request", propertyMap);
Object payload = response.getPayload();
assertTrue("should be a string", payload instanceof String );
assertEquals("ServiceOne", payload);
response = clt.send("refTwoInbound", "another request", propertyMap);
payload = response.getPayload();
if((payload == null) || (response.getExceptionPayload() != null))
{
DefaultExceptionPayload exPld = (DefaultExceptionPayload)response.getExceptionPayload();
if(exPld.getException() != null)