Within the AmazonSQSPrioritizedMessageProvider is an inner OriginatingMessage class that is used to wrap a vanilla Message object. This allows for an originatingQueueUrl to be part of the message. Very handy. However the inner class is package-scope so we're not able to take advantage of this value to get the originating URL.
Make it public, please.
Within the
AmazonSQSPrioritizedMessageProvideris an innerOriginatingMessageclass that is used to wrap a vanillaMessageobject. This allows for anoriginatingQueueUrlto be part of the message. Very handy. However the inner class is package-scope so we're not able to take advantage of this value to get the originating URL.Make it public, please.