Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed the typos of @Header

...

Code Block
public class Foo {
	
    @MessageDriven(uri = "activemq:my.queue")
    public void doSomething(@Header('JMSCorrelationID'name = "JMSCorrelationID") String correlationID, @Body String body) {
		// process the inbound message here
    }

}

...

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

}

...