Go to new doc!

+49 228 5552576-0


info@predic8.com

groovyTemplate

Description

Uses the groovy template markup engine to produce HTML-based responses.

 <groovyTemplate><![CDATA[
   html {
     head {
       title('Resource')
     }
     body {
       p('Hello from Membrane!')
     }
   }
 ]]></groovyTemplate>
 

The word "spring" refers to the Spring ApplicationContext. The word "exc" refers to the Membrane Exchange being handled. The word "flow" refers to the current Membrane Flow (=REQUEST).

Can be used in

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