protected void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
if (log.isTraceEnabled()) log.trace(".service() - start");
Consumer consumer = consumerManager.getConsumer();
if (consumer instanceof WebConsumer) {
WebConsumer webConsumer = (WebConsumer)consumer;
webConsumer.service(this.getServletConfig(),req, res);
}
else {
// TODO: throw Error
}