MessageBroker msgBroker = null;
// determine the request type and execute
try {
String sLcUri = request.getRequestURI().toLowerCase();
StringAttributeMap cfg = context.getCatalogConfiguration().getParameters();
int maxItems = Val.chkInt(cfg.getValue("catalog.cart.maxItems"),10);
// determine the response format
String f = Val.chkStr(request.getParameter("f"));
if (f.equalsIgnoreCase("pjson")) {
sMimeType = "text/plain";