code: public void eventUnreferenced(ActivityHandle arg0, FireableEventType arg1, Object arg2, Address arg3,
              ReceivableService arg4, int arg5) {
          if (tracer.isFineEnabled()) {
              tracer.fine(String.format("Event=%s unreferenced", arg2));
          }
  
          if (arg2 instanceof ResponseEvent) {
              ResponseEvent event = (ResponseEvent) arg2;
              HttpResponse response = event.getHttpResponse();
  
              // May be this event is carrying Exception and not actual Response
              // in which case
              // skip housekeeping
              if (response != null) {
                  try {
                      EntityUtils.consume(response.getEntity());
                  } catch (IOException e) {
                      this.tracer.severe("Exception while housekeeping. Event unreferenced", e);
                  }
              }
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  javax.slee.resource.ResourceAdaptor#eventUnreferenced(javax.slee.resource
  .ActivityHandle, javax.slee.resource.FireableEventType, java.lang.Object,
  javax.slee.Address, javax.slee.resource.ReceivableService, int)