The API allows me to deal either with Spring's message or the payload itself:
public class SomeEndpoint {
Message<SomePayloadClass> doSomething(AnotherPayloadClass payload)
{
...
}
}
What if I deal only with the payload and later I realize I need the message (e.g. the get some header information)?
I am concerned that when using SI over time there will be lots of classes and I do not want to refactor them only the deal with messages instead of payloads.
Is there a convenient way of getting the message for a certain payload?
Thanks Tai


Reply With Quote
.
