Eoghan Glynn wrote:
I hear what you're saying.
Good. Thanks for the rapid response.
We definitely could change MAPCodec.restoreExchange() so as to not require that a cached exchange is available if the /wsa:RelatesTo is non-null and the /wsa:RelatesTo/@RelationshipType is set to anything other than "http://www.w3.org/2005/08/addressing/reply".
Sounds good.
However I think it would be logical to continue with the current behaviour if the /wsa:RelatesTo/@RelationshipType is absent on the wire, as the spec states this should be taken to imply a value of reply (and in any case, the generated JAXB type will substitute this default value on null).
Well, I guess I'm happy to follow the spec on this one :-)
So to avoid the CXF correlation logic, a little more than a vanilla RelatesTo would be required, i.e. a specific RelationshipType would be need to be set. This doesn't sound like a great hardship, though. Would you agree?
Yes, I think that is reasonable and no great hardship to arrange.
Thanks for the offer of supplying a patch, that would be much appreciated.
Ok, I'll see what I can cook up. Would you like a JIRA with that? regards, Andrew Dinn -----------
