I also need to pass a new parameter to "MyPlugin" and use that in my broker
plugin. I extract the user/password from ConnectionInfo

public void addConnection(ConnectionContext context, ConnectionInfo info)
throws Exception {
        String token =info.getPassword();
        String user = info.getUserName();
        //try to login...

Can I add any other parameter to the url in myclient to be passed to the
broker like: url=tcp://localhost:61616?p1=true

ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory(user, pwd, url); 

--
View this message in context: 
http://www.nabble.com/Refreshing-authorizationPlugin-config-t1368949.html#a3951273
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to