public void processMessage(String body){
		
		ConcurrentHashMap<Long, Book> hashMap= bookRepository.getHashMap();
		
		//Parsing the input String 
		body.split("[^p]:");
		String[] parts= body.substring(0, body.length() - 1).split("\"?:\"?");
		
		if(parts[0] == null){
			System.out.println("parts[0] is empty");
			return;
		}
		
		long isbn = Long.parseLong(parts[0]);
		
		if(hashMap.containsKey(isbn)){
			Book book = hashMap.get(isbn);
			if(book.getStatus() == Book.Status.lost)
				book.setStatus(Book.Status.available);
		}else{
			Book book = new Book();
			book.setIsbn(Long.parseLong(parts[0]));
			book.setTitle(parts[1]);
			book.setCategory(parts[2]);
			String url = parts[3]+":"+parts[4];
			try {
			    book.setCoverimage(new URL(url));
			} catch (MalformedURLException e) {
			    e.printStackTrace();
			}
			hashMap.putIfAbsent(book.getIsbn(), book);
		}
	}