ARTEMIS-128 ClassCastException in openwire message conversion
This commit is contained in:
parent
7261eaebc5
commit
afe5b5cefe
|
@ -647,9 +647,10 @@ public class OpenWireMessageConverter implements MessageConverter
|
||||||
amqMsg.setDestination(dest);
|
amqMsg.setDestination(dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
String groupId = (String) coreMessage.getObjectProperty(AMQ_MSG_GROUP_ID);
|
Object value = coreMessage.getObjectProperty(AMQ_MSG_GROUP_ID);
|
||||||
if (groupId != null)
|
if (value != null)
|
||||||
{
|
{
|
||||||
|
String groupId = value.toString();
|
||||||
amqMsg.setGroupID(groupId);
|
amqMsg.setGroupID(groupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue