class JmsRequestMessageCreator implements MessageCreator {

    @Override
    public Message createMessage(final Session session) throws JMSException {
        request.setInputStream(null);
        request.clearEvaluationResults();
        ObjectMessage message = session.createObjectMessage();
        message.setObject(request);
        message.setBooleanProperty("bodyDecompressed", true);
        return message;
    }

    public  JmsRequestMessageCreator(final WilmaHttpRequest request);

}