You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Anton Roskvist (Jira)" <ji...@apache.org> on 2022/04/19 10:53:00 UTC
[jira] [Commented] (ARTEMIS-3780) OpenWire messageConverter throws exceptions for all user properties
[ https://issues.apache.org/jira/browse/ARTEMIS-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524245#comment-17524245 ]
Anton Roskvist commented on ARTEMIS-3780:
-----------------------------------------
Converting to String beforehand to avoid exception.
Shows some performance increase when running a producer/consumer pair sending and receiving 100k messages 5 times, alternating between setting 8 custom headers or not.
{*}Before{*}:
8 user properties:
*Average: 64.236*
Each run: 68.30, 60.74, 62.86, 65.39, 63.89
0 user properties:
*Average: 54.862*
Each run: 53.55, 52.55, 56.24, 61.14, 50.83
{*}After{*}:
8 user properties:
*Average: 52.944*
Each run: 49.48, 57.12, 53.84, 51.66, 52.62
0 user properties:
*Average: 52.1*
Each run: 50.45, 52.28, 50.23, 51.69, 55.85
> OpenWire messageConverter throws exceptions for all user properties
> -------------------------------------------------------------------
>
> Key: ARTEMIS-3780
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3780
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Anton Roskvist
> Priority: Major
>
> OpenWire messageConverter throws exceptions for all user defined properties on messages since they arrive with the type "UTF8Buffer" when running "putMsgProperties"
--
This message was sent by Atlassian Jira
(v8.20.1#820001)