@Override public final boolean hasAnonymousAddress(EndpointReference epr) { URI anonymous = getAnonymous(); return anonymous != null && anonymous.equals(epr.getAddress()); }
@Override public final boolean hasAnonymousAddress(EndpointReference epr) { URI anonymous = getAnonymous(); return anonymous != null && anonymous.equals(epr.getAddress()); }
@Override public final boolean hasNoneAddress(EndpointReference epr) { URI none = getNone(); return none != null && none.equals(epr.getAddress()); }
@Override public final boolean hasNoneAddress(EndpointReference epr) { URI none = getNone(); return none != null && none.equals(epr.getAddress()); }
public final boolean hasNoneAddress(EndpointReference epr) { URI none = getNone(); return none != null && none.equals(epr.getAddress()); }
@Override public final boolean hasAnonymousAddress(EndpointReference epr) { URI anonymous = getAnonymous(); return anonymous != null && anonymous.equals(epr.getAddress()); }
@Override public final boolean hasNoneAddress(EndpointReference epr) { URI none = getNone(); return none != null && none.equals(epr.getAddress()); }
public final boolean hasAnonymousAddress(EndpointReference epr) { URI anonymous = getAnonymous(); return anonymous != null && anonymous.equals(epr.getAddress()); }
/** * Constructs a new {@link MessageAddressingProperties} that forms a reply to the given EPR. * * @param epr the endpoint reference to create a reply for * @param action the value of the action property * @param messageId the value of the message id property * @param relatesTo the value of the relates to property */ private MessageAddressingProperties(EndpointReference epr, URI action, URI messageId, URI relatesTo) { this.to = epr.getAddress(); this.action = action; this.messageId = messageId; this.relatesTo = relatesTo; this.referenceParameters = epr.getReferenceParameters(); this.referenceProperties = epr.getReferenceProperties(); this.from = null; this.replyTo = null; this.faultTo = null; }
/** * Constructs a new {@link MessageAddressingProperties} that forms a reply to the given EPR. * * @param epr the endpoint reference to create a reply for * @param action the value of the action property * @param messageId the value of the message id property * @param relatesTo the value of the relates to property */ private MessageAddressingProperties(EndpointReference epr, URI action, URI messageId, URI relatesTo) { this.to = epr.getAddress(); this.action = action; this.messageId = messageId; this.relatesTo = relatesTo; this.referenceParameters = epr.getReferenceParameters(); this.referenceProperties = epr.getReferenceProperties(); this.from = null; this.replyTo = null; this.faultTo = null; }
/** * Constructs a new {@link MessageAddressingProperties} that forms a reply to the given EPR. * * @param epr the endpoint reference to create a reply for * @param action the value of the action property * @param messageId the value of the message id property * @param relatesTo the value of the relates to property */ private MessageAddressingProperties(EndpointReference epr, URI action, URI messageId, URI relatesTo) { this.to = epr.getAddress(); this.action = action; this.messageId = messageId; this.relatesTo = relatesTo; this.referenceParameters = epr.getReferenceParameters(); this.referenceProperties = epr.getReferenceProperties(); this.from = null; this.replyTo = null; this.faultTo = null; }
/** * Constructs a new {@link MessageAddressingProperties} that forms a reply to the given EPR. * * @param epr the endpoint reference to create a reply for * @param action the value of the action property * @param messageId the value of the message id property * @param relatesTo the value of the relates to property */ private MessageAddressingProperties(EndpointReference epr, URI action, URI messageId, URI relatesTo) { this.to = epr.getAddress(); this.action = action; this.messageId = messageId; this.relatesTo = relatesTo; this.referenceParameters = epr.getReferenceParameters(); this.referenceProperties = epr.getReferenceProperties(); this.from = null; this.replyTo = null; this.faultTo = null; }
private void sendOutOfBand(MessageContext messageContext, EndpointReference replyEpr) throws IOException { if (logger.isDebugEnabled()) { logger.debug("Request [" + messageContext.getRequest() + "] has [" + replyEpr + "] reply address; sending out-of-band reply [" + messageContext.getResponse() + "]"); } boolean supported = false; for (WebServiceMessageSender messageSender : messageSenders) { if (messageSender.supports(replyEpr.getAddress())) { supported = true; WebServiceConnection connection = null; try { connection = messageSender.createConnection(replyEpr.getAddress()); connection.send(messageContext.getResponse()); break; } finally { messageContext.clearResponse(); if (connection != null) { connection.close(); } } } } if (!supported && logger.isWarnEnabled()) { logger.warn("Could not send out-of-band response to [" + replyEpr.getAddress() + "]. " + "Configure WebServiceMessageSenders which support this uri."); } }
private void sendOutOfBand(MessageContext messageContext, EndpointReference replyEpr) throws IOException { if (logger.isDebugEnabled()) { logger.debug("Request [" + messageContext.getRequest() + "] has [" + replyEpr + "] reply address; sending out-of-band reply [" + messageContext.getResponse() + "]"); } boolean supported = false; for (WebServiceMessageSender messageSender : messageSenders) { if (messageSender.supports(replyEpr.getAddress())) { supported = true; WebServiceConnection connection = null; try { connection = messageSender.createConnection(replyEpr.getAddress()); connection.send(messageContext.getResponse()); break; } finally { messageContext.clearResponse(); if (connection != null) { connection.close(); } } } } if (!supported && logger.isWarnEnabled()) { logger.warn("Could not send out-of-band response to [" + replyEpr.getAddress() + "]. " + "Configure WebServiceMessageSenders which support this uri."); } }
private void sendOutOfBand(MessageContext messageContext, EndpointReference replyEpr) throws IOException { if (logger.isDebugEnabled()) { logger.debug("Request [" + messageContext.getRequest() + "] has [" + replyEpr + "] reply address; sending out-of-band reply [" + messageContext.getResponse() + "]"); } boolean supported = false; for (WebServiceMessageSender messageSender : messageSenders) { if (messageSender.supports(replyEpr.getAddress())) { supported = true; WebServiceConnection connection = null; try { connection = messageSender.createConnection(replyEpr.getAddress()); connection.send(messageContext.getResponse()); break; } finally { messageContext.clearResponse(); if (connection != null) { connection.close(); } } } } if (!supported && logger.isWarnEnabled()) { logger.warn("Could not send out-of-band response to [" + replyEpr.getAddress() + "]. " + "Configure WebServiceMessageSenders which support this uri."); } }
private void sendOutOfBand(MessageContext messageContext, EndpointReference replyEpr) throws IOException { if (logger.isDebugEnabled()) { logger.debug("Request [" + messageContext.getRequest() + "] has [" + replyEpr + "] reply address; sending out-of-band reply [" + messageContext.getResponse() + "]"); } boolean supported = false; for (WebServiceMessageSender messageSender : messageSenders) { if (messageSender.supports(replyEpr.getAddress())) { supported = true; WebServiceConnection connection = null; try { connection = messageSender.createConnection(replyEpr.getAddress()); connection.send(messageContext.getResponse()); break; } finally { messageContext.clearResponse(); if (connection != null) { connection.close(); } } } } if (!supported && logger.isWarnEnabled()) { logger.warn("Could not send out-of-band response to [" + replyEpr.getAddress() + "]. " + "Configure WebServiceMessageSenders which support this uri."); } }
if (epr == null || epr.getAddress() == null) { return; Document document = documentBuilder.newDocument(); Element address = document.createElementNS(getNamespaceUri(), QNameUtils.toQualifiedName(getAddressName())); address.setTextContent(epr.getAddress().toString()); transform(new DOMSource(address), headerElement.getResult()); if (getReferenceParametersName() != null && !epr.getReferenceParameters().isEmpty()) {
if (epr == null || epr.getAddress() == null) { return; Document document = documentBuilder.newDocument(); Element address = document.createElementNS(getNamespaceUri(), QNameUtils.toQualifiedName(getAddressName())); address.setTextContent(epr.getAddress().toString()); transform(new DOMSource(address), headerElement.getResult()); if (getReferenceParametersName() != null && !epr.getReferenceParameters().isEmpty()) {
if (epr == null || epr.getAddress() == null) { return; Document document = documentBuilder.newDocument(); Element address = document.createElementNS(getNamespaceUri(), QNameUtils.toQualifiedName(getAddressName())); address.setTextContent(epr.getAddress().toString()); transform(new DOMSource(address), headerElement.getResult()); if (getReferenceParametersName() != null && !epr.getReferenceParameters().isEmpty()) {
if (epr == null || epr.getAddress() == null) { return; Document document = documentBuilder.newDocument(); Element address = document.createElementNS(getNamespaceUri(), QNameUtils.toQualifiedName(getAddressName())); address.setTextContent(epr.getAddress().toString()); transform(new DOMSource(address), headerElement.getResult()); if (getReferenceParametersName() != null && !epr.getReferenceParameters().isEmpty()) {