Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: The syntax said 'Path' instead of 'XPath'

...

Code Block
public class Foo {
	
    @MessageDriven(uri = "activemq:my.queue")
    public void doSomething(@Path@XPath("/ns1:foo/ns2:bar/text()") String correlationID, @Body String body) {
		// process the inbound message here
    }
}

...