class JmsResponseIndexingProcessor {

    public void process(final WilmaHttpResponse response) {
        String fileName = fileNameProvider.getFileName(response);
        IndexMessage message = indexMessageFactory.createIndexMessage(fileName, IndexingType.ADD.getName());
        messageIndexer.sendMessageToIndexer(message);
    }

}