ARTEMIS-1793 fix property detection
This commit is contained in:
parent
3a45f91092
commit
106c52a741
|
@ -124,7 +124,7 @@ public class StompUtils {
|
||||||
if (message.getValidatedUserID() != null) {
|
if (message.getValidatedUserID() != null) {
|
||||||
command.addHeader(Stomp.Headers.Message.VALIDATED_USER, message.getValidatedUserID());
|
command.addHeader(Stomp.Headers.Message.VALIDATED_USER, message.getValidatedUserID());
|
||||||
}
|
}
|
||||||
if (message.getByteProperty(Message.HDR_ROUTING_TYPE.toString()) != null) {
|
if (message.containsProperty(Message.HDR_ROUTING_TYPE)) {
|
||||||
command.addHeader(Stomp.Headers.Send.DESTINATION_TYPE, RoutingType.getType(message.getByteProperty(Message.HDR_ROUTING_TYPE.toString())).toString());
|
command.addHeader(Stomp.Headers.Send.DESTINATION_TYPE, RoutingType.getType(message.getByteProperty(Message.HDR_ROUTING_TYPE.toString())).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue