On 05/25/2012 04:26 PM, Jason T. Greene wrote:
On 5/25/12 9:18 AM, Jeff Mesnil wrote:
> I have now 2 modules (org.jboss.as.messaging and
> org.jboss.as.messaging.bridge-integration) for the messaging subsystem?
> Is that OK?
This approach would limit you to one bridge for the entire AS.
A more flexible approach would be to let your subsystem config take a
module name per bridge.
You can easily go from module name -> classloader. Then you can pass the
classloader to jms client code to load the provider.
much cleaner, i'll use that approach :)
thanks,
jeff
--
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/