THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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"); |
...