Пример #1
0
 @RequestMapping
 public String show(
     @PathVariable("consumerName") String consumerName,
     ModelMap map,
     @RequestParam(value = "message", required = false) String message)
     throws Exception {
   CamelConnection conn = connectionFactory.getConnection();
   CamelBean consumer = conn.getConsumer(consumerName);
   map.put("consumer", consumer);
   map.put("message", message);
   return "consumer";
 }