If you're using a modern version of JBoss (e.g. 7.x or Wildfly) then just about 
everything has an isolated classloader.  It won't matter that the WAR is 
deployed before the broker.  The broker still won't be able to see classes in 
the WAR (and that is a good thing).  You'll need to configure things on the 
application server (and possibly change your packaging/deployment) so that the 
broker can actually see the plugin classes.

I'm curious about your "token" use-case.  Can you elaborate any further?


Justin

----- Original Message -----
From: "aragoubi" <aymen....@gmail.com>
To: users@activemq.apache.org
Sent: Tuesday, May 30, 2017 9:27:46 AM
Subject: Re: load class from activeMQ broker config

1) When I start my jboss, I see that the war is deployed before activeMQ.
2) I need this plugin because I need to implement a code that send token to
a remote system to verify token passed by client.

To summerize my purpose is to call a class included in a war from the
activemq rar.
I also posted this question in jboss forum, I hope that I get an answer.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/load-class-from-activeMQ-broker-config-file-tp4726700p4726702.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to