throw new SynapseException(msg); List<Endpoint> endpoints = getEndpoints(recipientListElement, recipientListEndpoint, properties); recipientListEndpoint.setChildren(endpoints); List<Member> members = getMembers(recipientListElement); recipientListEndpoint.setMembers(members); processProperties(recipientListEndpoint, epConfig);
(new QName(SynapseConstants.SYNAPSE_NAMESPACE, "recipientlist")); if(rcplElement != null){ return RecipientListEndpointFactory.getInstance();
public void test() throws Exception { String inputXml = "<endpoint xmlns=\"http://ws.apache.org/ns/synapse\">" + "<recipientlist>" + "<endpoint xmlns=\"http://ws.apache.org/ns/synapse\">" + "<http uri-template=\"URI Template\" method=\"GET\" />" + "</endpoint>" + "</recipientlist>" + "</endpoint>"; OMElement inputElement = createOMElement(inputXml); RecipientListEndpoint endpoint = (RecipientListEndpoint) RecipientListEndpointFactory .getEndpointFromElement(inputElement, true, null); OMElement serializedResponse = RecipientListEndpointSerializer.getElementFromEndpoint(endpoint); assertTrue("Endpoint not serialized!", compare(serializedResponse, inputElement)); } }
throw new SynapseException(msg); List<Endpoint> endpoints = getEndpoints(recipientListElement, recipientListEndpoint, properties); recipientListEndpoint.setChildren(endpoints); List<Member> members = getMembers(recipientListElement); recipientListEndpoint.setMembers(members); } else if (recipientListElement.getFirstChildWithName(DYNAMIC_SET) != null) { processProperties(recipientListEndpoint, epConfig);
(new QName(SynapseConstants.SYNAPSE_NAMESPACE, "recipientlist")); if(rcplElement != null){ return RecipientListEndpointFactory.getInstance();