In Amqp Reference Manual for Java, there are some examples with the class MessageCreator in section 1.4. But this class does not exist in Spring AMQP API. Is this and error ?
Code:amqpTemplate.send("quotes.nasdaq.FOO", new MessageCreator() { public Message createMessage() { return new Message("12.34".getBytes(), someProperties); } });


Reply With Quote