Hello,
I'm writing up my own BrokerFilter and was considering overriding the
messagePull() method. The MessagPull object that is passed into this method
has a method to retrieve a MessageId but what's the best way, within this
context, to retrieve a reference to the actual Message?
eg:
@Override
public Response messagePull(ConnectionContext context, MessagePull
messagePull){
MessageId messageId = messagePull.getMessageId();
Message message = ?;//what to do here to get a reference to a Message from
messageId?
}
--
View this message in context:
http://activemq.2283324.n4.nabble.com/getting-a-Message-from-a-MessageId-within-a-BrokerFilter-eg-messagePull-tp4653358.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.