| <%@ import val it: ExchangeResource %> |
| |
| #{ attributes("title") = "Exchange " + it.getExchangeId}# |
| |
| |
| <h1>Exchange: ${it.getExchangeId}</h1> |
| |
| |
| <table> |
| <tr> |
| <td valign="top"> |
| <table> |
| <tr> |
| <th colspan="2">Properties</th> |
| </tr> |
| <tr> |
| <th>Name</th> |
| <th>Value</th> |
| </tr> |
| #for(entry <- it.getProperties) |
| <tr> |
| <td>${entry.getKey}</td> |
| #if(entry.getValue != null) |
| <td><a class="type" title="${entry.getValue.getClass.getCanonicalName}">${entry.getValue}</a></td> |
| #else |
| <td><a class="type">null</a></td> |
| #end |
| </tr> |
| #end |
| </table> |
| </td> |
| <td valign="top"> |
| <table> |
| <tr> |
| <th colspan="2">Headers</th> |
| </tr> |
| <tr> |
| <th>Name</th> |
| <th>Value</th> |
| </tr> |
| #for(entry <- it.getHeaders) |
| <tr> |
| <td>${entry.getKey}</td> |
| #if(entry.getValue != null) |
| <td><a class="type" title="${entry.getValue.getClass.getCanonicalName}">${entry.getValue}</a></td> |
| #else |
| <td><a class="type">null</a></td> |
| #end |
| </tr> |
| #end |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <th colspan="2"> |
| #if(it.getIn.getBody != null) |
| Message Body is Java Class: ${it.getIn.getBody.getClass.getCanonicalName} |
| #else |
| Message Body is Java Class: null |
| #end |
| </th> |
| </tr> |
| <tr> |
| <td colspan="2"> |
| <div class="message">${escape(it.getIn.getBody)}</div> |
| </td> |
| </tr> |
| </table> |
| |