proxyBuilder.chain(outboundEndpoint);
}
else
{
// create a templated outbound endpoint to propagate extra path elements (including query parameters)
proxyBuilder.chain(new TransformerTemplate(new TransformerCallback()
{
public Object doTransform(final MuleMessage message) throws Exception
{
final String pathExtension = StringUtils.substringAfter(
(String) message.getInboundProperty("http.request"),