class JmsResponseBuilder implements ResponseBuilder {

    @Override
    public void buildResponse(final WilmaHttpEntity entity) {
        WilmaHttpResponse response = (WilmaHttpResponse) entity;
        jmsTemplate.send(responseQueue, messageCreatorFactory.create(response, true));
    }

}