String jmsTopic = info.getAttributes().get(ComponentInfoAttributes.JMS_CHANGE_MANAGER_TOPIC);
Object target;
if (_jmsConnector != null && jmsTopic != null && ObjectUtils.equals(jmsBrokerUri, _jmsConnector.getClientBrokerUri().toString())) {
// only sets up JMS if supplied connector matches that needed
// this approach could be enhanced...
JmsChangeManager changeManager = new JmsChangeManager(_jmsConnector, jmsTopic);
repo.registerLifecycle(changeManager);
Constructor<?> con = ReflectionUtils.findConstructor(remoteType, URI.class, ChangeManager.class);
target = ReflectionUtils.newInstance(con, componentUri, changeManager);
} else {
// do not use JMS