SimpleDataSet dataset = new SimpleDataSet(1); String messageBody = "testbody"; dataset.setDefaultBody(messageBody); registry.put("foo", dataset);
System.out.println("Message content: "+ exchange.getIn().toString());
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!