Skip to main content Skip to complementary content

Configuring the second sub-route


  1. Double-click the second cDirectVM component (labeled D-VM_consumer in this example) to display its Basic settings view on the Component tab.
  2. In the Endpoint Name field, enter dvm in double quotation marks to name the endpoint.
  3. Double-click the cProcessor (labeled Show_message in this example) component to display its Basic settings view.
  4. In the Code area, enter the following code to display the content of the message headers and the message body:
    System.out.println("Message for "+exchange.getOut().getHeader("header1")
    +" of "+exchange.getOut().getHeader("header2")+":");

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!