[jboss-as7-dev] Use a module to setup external dependencies for a JMS Bridge?
Jeff Mesnil
jmesnil at redhat.com
Fri May 25 10:29:14 EDT 2012
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/
More information about the jboss-as7-dev
mailing list