@Path(ResourcePathConstants.ConfigResourcePathConstants.DELETE_MSG_BOX_URI)
@Produces(MediaType.TEXT_PLAIN)
public Response unsetMessageBoxURI() {
AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
try {
airavataRegistry.unsetMessageBoxURI();
Response.ResponseBuilder builder = Response.status(Response.Status.OK);
builder.entity("MessageBox URI deleted successfully...");
return builder.build();
} catch (Throwable e) {
return WebAppUtil.reportInternalServerError(ResourcePathConstants.ConfigResourcePathConstants.DELETE_MSG_BOX_URI, e);