You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/03/29 16:51:25 UTC

[jira] [Commented] (QPID-7159) [Java Client] Disabling user ids in AMQP messages

    [ https://issues.apache.org/jira/browse/QPID-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216123#comment-15216123 ] 

Alex Rudyy commented on QPID-7159:
----------------------------------

Hi Jakub,

The requested feature looks  really useful to me. We definitely should add it into client.
However, system properties are not very friendly in container environment. It seems it would be better also to add a connection option which would control whether user identity should be sent with messages.
What do you think about having both system property and connection option to disable sending of user IDs?


> [Java Client] Disabling user ids in AMQP messages
> -------------------------------------------------
>
>                 Key: QPID-7159
>                 URL: https://issues.apache.org/jira/browse/QPID-7159
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Client
>            Reporter: Jakub Scholz
>         Attachments: QPID-7159.patch
>
>
> The AMQP 0-10 JMS client seems to always attach the user-id message property to the AMQP message. 
> In some cases, I don't think this is desired. For example when I send messages to my customers, I do not really want them to know which other users exist on the broker and are used to send messages.
> It would be great to have a possibility to disable the user-id when needed. 
> The attached patch disables the user id in the BasicMessageProducer based on a system property qpid.attach_user_id (true/false). Does that look like a reasonable solution? If yes, I can try to add some tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org