jeudi 16 avril 2015

How to put “new line” in Spring Epression Language?

What would be the exact SpEL expression to go to the new line. Here is my configuration:



<logging-channel-adapter id="log"
channel="loggingChannel" level="INFO"
expression="'DealId: '+ payload.dealId \n + 'Name: '+ payload.name" />

Aucun commentaire:

Enregistrer un commentaire