This closes #493
This commit is contained in:
commit
d5ebe071a0
|
@ -304,6 +304,10 @@ public class ProtonSessionIntegrationCallback implements AMQPSessionCallback, Se
|
||||||
EncodedMessage encodedMessage = new EncodedMessage(messageFormat, messageEncoded.array(), messageEncoded.arrayOffset(), messageEncoded.writerIndex());
|
EncodedMessage encodedMessage = new EncodedMessage(messageFormat, messageEncoded.array(), messageEncoded.arrayOffset(), messageEncoded.writerIndex());
|
||||||
|
|
||||||
ServerMessage message = manager.getConverter().inbound(encodedMessage);
|
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();
|
recoverContext();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue