context.getEventBus().subscribe(SuccessResponseEvent.class, listener);
context.getEventBus().subscribe(FailureResponseEvent.class, listener);
return listener;
}
public static void removeUriMimeMessageRelation(EventListenerContext context, String mapName, URI needURI) {
<BUG>BotContext botContext = context.getBotContext();
Object uriMap = botContext.get(mapName);
if(uriMap != null && uriMap instanceof HashMap){
((HashMap<URI, MimeMessage>) uriMap).remove(needURI);
}</BUG>
}

context.getEventBus().subscribe(SuccessResponseEvent.class, listener);
context.getEventBus().subscribe(FailureResponseEvent.class, listener);
return listener;
