Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Should be MyXPath to match the example given

...

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

...