use of org.springframework.ws.soap.addressing.core.MessageAddressingProperties in project camel by apache.
the class AbstractWSATests method sameChannelParams.
/**
* Only response is allow using same channel
*
* @return
*/
protected final MessageAddressingProperties sameChannelParams() {
// we expect the same channel reply
assertNull(newReply.getMessageContext());
assertNotNull(response);
assertNotNull(response.getMessageContext());
SoapMessage soapResponse = (SoapMessage) response.getMessageContext().getResponse();
assertNotNull(soapResponse);
MessageAddressingProperties wsaProperties = TestUtil.getWSAProperties(soapResponse);
assertNotNull(wsaProperties);
return wsaProperties;
}
use of org.springframework.ws.soap.addressing.core.MessageAddressingProperties in project camel by apache.
the class CamelDirectSenderTest method customChannelParams.
/**
* Only response is allow using a brand custom channel
*
* @return
*/
private MessageAddressingProperties customChannelParams() {
assertNotNull(customChannel);
assertNotNull(customChannel.getMessageContext());
SoapMessage request = (SoapMessage) customChannel.getMessageContext().getRequest();
assertNotNull(request);
MessageAddressingProperties wsaProperties = TestUtil.getWSAProperties(request);
assertNotNull(wsaProperties);
assertNotNull(wsaProperties.getTo());
return wsaProperties;
}
Aggregations