public void loadAndQueueTokenBatch(@Observes @Dequeue MessageHolderWithVariants msg) {
final UnifiedPushMessage message = msg.getUnifiedPushMessage();
final VariantType variantType = msg.getVariantType();
final Collection<Variant> variants = msg.getVariants();
final String lastTokenFromPreviousBatch = msg.getLastTokenFromPreviousBatch();
<BUG>final SenderConfiguration configuration = senderConfiguration.select(new SenderTypeLiteral(variantType)).get();
logger.fine("Received message from queue: " + message.getMessage().getAlert());</BUG>
final Criteria criteria = message.getCriteria();
final List<String> categories = criteria.getCategories();
final List<String> aliases = criteria.getAliases();

public void loadAndQueueTokenBatch(@Observes @Dequeue MessageHolderWithVariants msg) {
final UnifiedPushMessage message = msg.getUnifiedPushMessage();
final VariantType variantType = msg.getVariantType();
final Collection<Variant> variants = msg.getVariants();
final String lastTokenFromPreviousBatch = msg.getLastTokenFromPreviousBatch();
final SenderConfiguration configuration = senderConfiguration.select(new SenderTypeLiteral(variantType)).get();
int serialId = msg.getLastSerialId();
logger.fine("Received message from queue: " + message.getMessage().getAlert());
final Criteria criteria = message.getCriteria();
final List<String> categories = criteria.getCategories();
final List<String> aliases = criteria.getAliases();
