for (JMSFactoryType factoryType : JMSFactoryType.values()) { String factoryName = factoryType.connectionFactoryInterface().getSimpleName(); data.put(factoryName, createConnectionFactory(providerUrl, Collections.singletonMap("type", factoryType.toString()), factoryName)); data.put(factoryName, createConnectionFactory(providerUrl, factoryName)); String jndiName = key.substring(connectionFactoryPrefix.length()); try { data.put(jndiName, createConnectionFactory((String) environment.get(key), jndiName)); } catch (Exception e) { e.printStackTrace();
for (JMSFactoryType factoryType : JMSFactoryType.values()) { String factoryName = factoryType.connectionFactoryInterface().getSimpleName(); data.put(factoryName, createConnectionFactory(providerUrl, Collections.singletonMap("type", factoryType.toString()), factoryName)); data.put(factoryName, createConnectionFactory(providerUrl, factoryName)); String jndiName = key.substring(connectionFactoryPrefix.length()); try { data.put(jndiName, createConnectionFactory((String) environment.get(key), jndiName)); } catch (Exception e) { e.printStackTrace();
for (JMSFactoryType factoryType : JMSFactoryType.values()) { String factoryName = factoryType.connectionFactoryInterface().getSimpleName(); data.put(factoryName, createConnectionFactory(providerUrl, Collections.singletonMap("type", factoryType.toString()), factoryName)); data.put(factoryName, createConnectionFactory(providerUrl, factoryName)); String jndiName = key.substring(connectionFactoryPrefix.length()); try { data.put(jndiName, createConnectionFactory((String) environment.get(key), jndiName)); } catch (Exception e) { e.printStackTrace();
for (JMSFactoryType factoryType : JMSFactoryType.values()) { String factoryName = factoryType.connectionFactoryInterface().getSimpleName(); data.put(factoryName, createConnectionFactory(providerUrl, Collections.singletonMap("type", factoryType.toString()), factoryName)); data.put(factoryName, createConnectionFactory(providerUrl, factoryName)); String jndiName = key.substring(connectionFactoryPrefix.length()); try { data.put(jndiName, createConnectionFactory((String) environment.get(key), jndiName)); } catch (Exception e) { e.printStackTrace();
for (JMSFactoryType factoryType : JMSFactoryType.values()) { String factoryName = factoryType.connectionFactoryInterface().getSimpleName(); data.put(factoryName, createConnectionFactory(providerUrl, Collections.singletonMap("type", factoryType.toString()), factoryName)); data.put(factoryName, createConnectionFactory(providerUrl, factoryName)); String jndiName = key.substring(connectionFactoryPrefix.length()); try { data.put(jndiName, createConnectionFactory((String) environment.get(key), jndiName)); } catch (Exception e) { e.printStackTrace();