You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Sebastian (JIRA)" <ji...@apache.org> on 2018/10/22 12:44:00 UTC

[jira] [Commented] (QPIDJMS-422) Custom ClientID Generators

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

Sebastian commented on QPIDJMS-422:
-----------------------------------

I can provide a PR if you accept this feature request and tell me the target package name (still "util"?) and required interface/class names. 

> Custom ClientID Generators
> --------------------------
>
>                 Key: QPIDJMS-422
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-422
>             Project: Qpid JMS
>          Issue Type: New Feature
>          Components: qpid-jms-client
>    Affects Versions: 0.37.0
>            Reporter: Sebastian
>            Priority: Major
>
> In our application we are using client IDs with a very specific format. We would therefore like to register our own IdGenerator with the JmsConnectionFactory. Currently the JmsConnectionFactory#setClientIdGenerator is protected thus we cannot programmatically set a custom IdGenerator except by using (hacky) reflection.
> I would suggest to rename the current IdGenerator class to DefaultClientIdGenerator, create an ClientIdGenerator interface and change the visiblity of JmsConnectionFactory#setClientIdGenerator to public.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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