Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">

  <camelContext xmlns="http://camel.apache.org/schema/blueprint" id="Bank2Context" trace="false">
    <route id="Bank2">
      <from uri="amq:LoanBroker.Bank2"/>
      <setHeader headerName="host.bank">
         <simple>${sys.karaf.name}-${camelId}</simple>
      </setHeader>
      <delay>
        <constant>30</constant>
      </delay>
      <setHeader headerName="loan.rate">
        <simple>4.2</simple>
      </setHeader>
      <log message="&gt;&gt;&gt; Bank2 loan rate: ${header.loan.rate}"/>
    </route>
  </camelContext>

</blueprint>

New to GrepCode? Check out our FAQ X