[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to