Switching between different JMS implementations - Eclipse RCP -


i have eclipse rcp application connects jms broker (sonicmq) on app start up. have sonicmq jar part of bundle classpath , broker connection global i.e same broker used through out application.

now have requirement switch between active mq & sonic mq jms brokers. planning control switch using eclipse preference api.. once appropriate broker selected in preference window, can ask user restart application application booted fresh designated broker connection.

i connect either sonic mq or active mq based on user preference.. having both activemq & sonicmq jar part of plugin classpath..

in code, referring javax.jms apis.

as far know, classpath scanned based on order given in bundle classpath.

so, if code refers javax.jms.apis , creating topic connection, use designated broker (say sonicmq) , bundle class path should have sonic mq jar ahead of active mq right?

having in mind, how can control bundle classpath precedence order on application start up?

any appreciated. in advance..


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -