Go to new doc!

+49 228 5552576-0


info@predic8.com

template

Description

If enabled fills given template from exchange properties and replaces the body. The template can be put between tags or can be loaded from file using location attribute. If the extension of the given file is XML it will use XMLTemplateEngine otherwise StreamingTemplateEngine .

Can be used in

spring:beans, api, bean, if, interceptor, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler

Attributes

Name Required Default Description Example
contentType false - content type for body
location false - path of xml template file.
pretty false -