MQFactory.getConcrete("multisnipe_xml").registerListener(new MessageQueue.Listener() {
public void messageAction(Object deQ) {
String idXMLPair = (String)deQ;
String identifier = idXMLPair.substring(0, idXMLPair.indexOf(' '));
XMLElement element = new XMLElement();
element.parseString(idXMLPair, identifier.length() + 1);
MultiSnipe ms = MultiSnipe.loadFromXML(element);
addAuctionToMultisnipe(identifier, ms);
}
});