protected void serializeCommonAttributes(Endpoint endpoint, OMElement element) { String name = endpoint.getName(); boolean anon = ((AbstractEndpoint) endpoint).isAnonymous(); if (name != null && !anon) { element.addAttribute("name", name, null); } //serialize the message stores String messageStore = endpoint.getErrorHandler(); if (messageStore != null) { element.addAttribute(EndpointFactory.ON_FAULT_Q.getLocalPart(), messageStore, null); } }
protected void serializeCommonAttributes(Endpoint endpoint, OMElement element) { String name = endpoint.getName(); boolean anon = ((AbstractEndpoint) endpoint).isAnonymous(); if (name != null && !anon) { element.addAttribute("name", name, null); } //serialize the message stores String messageStore = endpoint.getErrorHandler(); if (messageStore != null) { element.addAttribute(EndpointFactory.ON_FAULT_Q.getLocalPart(), messageStore, null); } }