SHARE
TWEET

Untitled

a guest Jan 11th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from("direct:checkJsonToAuthHeaderConversion")
  2.         .filter(header("Content-Type").isEqualTo("application/json"))
  3.         .setHeader("tempBody", simple("${body}"))
  4.         .setBody(simple("${in.header.originalBody}"))
  5.         .setHeader("uid", simple("${body.uid}"))
  6.         .setHeader("password",simple("${body.password}"))
  7.         .setBody(simple("${in.header.tempBody}"))
  8.         .end();
RAW Paste Data
Top