class GuestDataUpdateReceiver implements MessageListener {

    @Override
    public void onMessage(Message message) {
        LOGGER.info(() -> "Received message " + message);

        try {
            GuestModel guest = JAXB.unmarshal(new StringReader(message.getBody(String.class)), GuestModel.class);
            LOGGER.info(() -> "Received " + guest);

            guestModelRepository.storeGuestModel(guest);
        } catch (DataBindingException | JMSException e) {
            LOGGER.log(SEVERE, "Cannot handle message " + message, e);
        }
    }

    public  GuestDataUpdateReceiver();
    @Inject public  GuestDataUpdateReceiver(GuestModelRepository guestModelRepository);

}