re-adding code accidently removed
This commit is contained in:
parent
eb75a69bce
commit
1530ea3032
|
@ -304,6 +304,10 @@ public class ProtonSessionIntegrationCallback implements AMQPSessionCallback, Se
|
|||
EncodedMessage encodedMessage = new EncodedMessage(messageFormat, messageEncoded.array(), messageEncoded.arrayOffset(), messageEncoded.writerIndex());
|
||||
|
||||
ServerMessage message = manager.getConverter().inbound(encodedMessage);
|
||||
//use the address on the receiver if not null, if null let's hope it was set correctly on the message
|
||||
if (address != null) {
|
||||
message.setAddress(new SimpleString(address));
|
||||
}
|
||||
|
||||
recoverContext();
|
||||
|
||||
|
|
Loading…
Reference in New Issue