final String topic = config.get("jms.topic");
final String clientID = config.get("jms.clientId");
final String topicFac = config.get("jms.topicFactory");
TopicFactory topicFactory = pluginRegistry.getBeanByName(topicFac, TopicFactory.class);
if (topicFactory == null)
topicFactory = pluginRegistry.getBeanByFullPrefix(topicFac, TopicFactory.class);
if (topicFactory == null){
throw new ConfigurationException("topicFactory not defined: "+topicFac);