Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public class Foo {
    public void doSomething(@Header('JMSCorrelationID') String correlationID, @Body String body) {
		// process the inbound message here
    }

}

e.g. a route could look likeThe routing DSL then looks like this

Code Block
from("activemq:someQueue").
  to("bean:myBean");

...